]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/minifram/test.cpp
Added a bit of libJPEG 6.0b
[wxWidgets.git] / samples / minifram / test.cpp
index 55efd8e2b4e5c5e392154177a57d5434fa41b130..5fe386612ac17d735fb989d9747c2dc656d8b37e 100644 (file)
@@ -45,7 +45,7 @@ bool MyApp::OnInit(void)
 {
   // Create the main frame window
   MyFrame* frame = new MyFrame((wxFrame *) NULL, -1, (const wxString) "wxMiniFrame sample",
-     wxPoint(100, 100), wxSize(200, 42));
+     wxPoint(100, 100), wxSize(205, 45));
 
 #ifdef __WXMSW__
   frame->SetIcon(wxIcon("mondrian"));
@@ -119,6 +119,8 @@ bool MyApp::InitToolbar(wxToolBar* toolBar)
   toolBar->AddTool(wxID_HELP, *(toolBarBitmaps[7]), wxNullBitmap, FALSE, currentX, -1, (wxObject *) NULL, "Help");
 
   toolBar->Realize();
+  
+  toolBar->EnableTool( wxID_HELP, FALSE );
 
   // Can delete the bitmaps since they're reference counted
   int i;