X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/caf51f9536ef4a0d05cd4a180e605b511b4cba42..c2754d29034199bc158fc079f91c7bca15d40037:/src/gtk1/frame.cpp diff --git a/src/gtk1/frame.cpp b/src/gtk1/frame.cpp index 564c0d8575..fe6aa5e445 100644 --- a/src/gtk1/frame.cpp +++ b/src/gtk1/frame.cpp @@ -504,8 +504,11 @@ wxFrame::~wxFrame() if (wxTheApp->GetTopWindow() == this) wxTheApp->SetTopWindow( (wxWindow*) NULL ); - if (wxTopLevelWindows.Number() == 0) + if ((wxTopLevelWindows.Number() == 0) && + (wxTheApp->GetExitOnFrameDelete())) + { wxTheApp->ExitMainLoop(); + } } // ---------------------------------------------------------------------------- @@ -529,6 +532,11 @@ bool wxFrame::Show( bool show ) return wxWindow::Show( show ); } +void wxFrame::DoMoveWindow(int WXUNUSED(x), int WXUNUSED(y), int WXUNUSED(width), int WXUNUSED(height) ) +{ + wxFAIL_MSG( wxT("DoMoveWindow called for wxFrame") ); +} + void wxFrame::DoSetSize( int x, int y, int width, int height, int sizeFlags ) { wxASSERT_MSG( (m_widget != NULL), wxT("invalid frame") );