]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/combo/combo.cpp
use 0 (== GTK_STATE_NORMAL) for state parameter default
[wxWidgets.git] / samples / combo / combo.cpp
index e31bcee2e02eeaed375208eada88d05265743c8b..2ed5167ad50667b194ec8e30aa207a5db6e846f5 100644 (file)
@@ -624,7 +624,7 @@ MyFrame::MyFrame(const wxString& title)
 
     // the "About" item should be in the help menu
     wxMenu *helpMenu = new wxMenu;
-    helpMenu->Append(ComboCtrl_About, wxT("&About...\tF1"), wxT("Show about dialog"));
+    helpMenu->Append(ComboCtrl_About, wxT("&About\tF1"), wxT("Show about dialog"));
 
     fileMenu->Append(ComboCtrl_Compare, wxT("&Compare against wxComboBox..."),
         wxT("Show some wxOwnerDrawnComboBoxes side-by-side with native wxComboBoxes."));
@@ -927,7 +927,7 @@ MyFrame::MyFrame(const wxString& title)
     panel->SetSizer( topSizer );
     topSizer->SetSizeHints( panel );
 
-    SetSize(740,400);
+    Fit();
     Centre();
 }