]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/proplist/proplist.cpp
fixed compilation somehow, the code is still broken!
[wxWidgets.git] / samples / proplist / proplist.cpp
index 8ecd8f2a76d87c39c88497fb853c45c5f9d20e52..92a762c866e12ab871c5109c255a6f7ea8cca502 100644 (file)
@@ -187,7 +187,7 @@ void MyApp::PropertyListTest(bool useDialog)
 
   if (useDialog)
   {
-    view->ShowView(sheet, propDialog);
+    view->ShowView(sheet, (wxPanel *)propDialog);
     propDialog->Centre(wxBOTH);
     propDialog->Show(TRUE);
   }
@@ -233,7 +233,7 @@ void MyApp::PropertyFormTest(bool useDialog)
     m_childWindow = propFrame;
   }
   
-  wxPanel *panel = propDialog ? propDialog : propFrame->GetPropertyPanel();
+  wxWindow *panel = propDialog ? propDialog : propFrame->GetPropertyPanel();
   wxLayoutConstraints* c;
 
 #if 0