]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dialog.cpp
Compile fix for filefn.cpp
[wxWidgets.git] / src / gtk / dialog.cpp
index 067aa65fac693772d9d452a9b056bcc620c41b36..f34fbdbf697568cbe0e26c2bf1842b9b6caf2104 100644 (file)
@@ -245,7 +245,7 @@ void wxDialog::GtkOnSize( int WXUNUSED(x), int WXUNUSED(y), int width, int heigh
 
 void wxDialog::OnSize( wxSizeEvent &WXUNUSED(event) )
 {
-    wxASSERT_MSG( (m_widget != NULL), "invalid frame" );
+    wxASSERT_MSG( (m_widget != NULL), "invalid dialog" );
   
     if (GetAutoLayout())
     {
@@ -261,7 +261,7 @@ void wxDialog::OnSize( wxSizeEvent &WXUNUSED(event) )
         for(wxNode *node = GetChildren().First(); node; node = node->Next())
         {
             wxWindow *win = (wxWindow *)node->Data();
-            if (!IS_KIND_OF(win,wxFrame) && !IS_KIND_OF(win,wxDialog))
+            if (!wxIS_KIND_OF(win,wxFrame) && !wxIS_KIND_OF(win,wxDialog))
             {
                // it's the second one: do nothing
                 if (child) return;