]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/frame.cpp
wxGTK now works a little again.
[wxWidgets.git] / src / gtk / frame.cpp
index 6fe147fa9b587518730efc4cdb0a749d2086394a..365f857639e55869b350db9cfb9a8edd8a4673ca 100644 (file)
@@ -413,6 +413,8 @@ bool wxFrame::Create( wxWindow *parent, wxWindowID id, const wxString &title,
 
 wxFrame::~wxFrame()
 {
+    m_isBeingDeleted = TRUE;
+    
     if (m_frameMenuBar) delete m_frameMenuBar;
     m_frameMenuBar = (wxMenuBar *) NULL;
     
@@ -536,11 +538,11 @@ void wxFrame::Centre( int direction )
     Move( x, y );
 }
 
-void wxFrame::GetClientSize( int *width, int *height ) const
+void wxFrame::DoGetClientSize( int *width, int *height ) const
 {
     wxASSERT_MSG( (m_widget != NULL), _T("invalid frame") );
 
-    wxWindow::GetClientSize( width, height );
+    wxWindow::DoGetClientSize( width, height );
     if (height)
     {
         /* menu bar */