]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/widgets.cpp
use kind, not id, of a menu item to test whether it's a separator: this allows having...
[wxWidgets.git] / samples / widgets / widgets.cpp
index e99d970a1ece4012d11f87eb5283e8babc8746f8..1637eb113b841050f47c30b7d6eb9fc1f654936b 100644 (file)
@@ -317,6 +317,10 @@ bool WidgetsApp::OnInit()
     title += _T("wxMAC");
 #elif defined(__WXMOTIF__)
     title += _T("wxMOTIF");
+#elif __WXPALMOS5__
+    title += _T("wxPALMOS5");
+#elif __WXPALMOS6__
+    title += _T("wxPALMOS6");
 #else
     title += _T("wxWidgets");
 #endif
@@ -444,7 +448,6 @@ WidgetsFrame::WidgetsFrame(const wxString& title)
 
     m_panel->SetSizer(sizerTop);
 
-    sizerTop->Fit(this);
     sizerTop->SetSizeHints(this);
 
 #if USE_LOG && !defined(__WXCOCOA__)