mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Fixed wxWidgets libpng warnings when creating a DebuggerGUI
This commit is contained in:
@@ -351,6 +351,7 @@ void CppLayoutPreviewer::SetParentAuiManager(wxAuiManager * manager)
|
||||
{
|
||||
if ( !debugger )
|
||||
{
|
||||
wxLogNull noLogPlease; //Avoid libpng warnings.
|
||||
debugger = std::shared_ptr<DebuggerGUI>(new DebuggerGUI(editor.GetParentControl(), previewScene) );
|
||||
if ( !parentAuiManager->GetPane("DBG").IsOk() )
|
||||
parentAuiManager->AddPane( debugger.get(), wxAuiPaneInfo().Name( wxT( "DBG" ) ).Float().CloseButton( true ).Caption( _( "Debugger" ) ).MaximizeButton( true ).MinimizeButton( false ).CaptionVisible(true).MinSize(200, 100).Show(false) );
|
||||
|
@@ -105,8 +105,7 @@ mainFrameWrapper(mainFrameWrapper_)
|
||||
Connect(ID_AUINOTEBOOK1,wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED,(wxObjectEventFunction)&EditorScene::OnnotebookPageChanged);
|
||||
Connect(ID_AUINOTEBOOK1,wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING,(wxObjectEventFunction)&EditorScene::OnnotebookPageChanging);
|
||||
//*)
|
||||
|
||||
//Prepare pane manager
|
||||
//Prepare pane manager
|
||||
m_mgr.SetManagedWindow( this );
|
||||
|
||||
layoutEditorCanvas->SetParentAuiManager(&m_mgr);
|
||||
|
Reference in New Issue
Block a user