]> git.saurik.com Git - wxWidgets.git/commitdiff
fix missing includessrc/generic/srchctlg.cpp
authorChris Elliott <biol75@york.ac.uk>
Mon, 11 Dec 2006 09:30:26 +0000 (09:30 +0000)
committerChris Elliott <biol75@york.ac.uk>
Mon, 11 Dec 2006 09:30:26 +0000 (09:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/minimal/minimal.cpp
src/generic/srchctlg.cpp

index 3bfad6019d4b34a83736943080d9114fde283adb..e1f25e73a83b4e6d14b3590a9567e890309e8e39 100644 (file)
@@ -40,6 +40,7 @@
     #include "../sample.xpm"
 #endif
 
+//###include "dmalloc.h"
 // ----------------------------------------------------------------------------
 // private classes
 // ----------------------------------------------------------------------------
@@ -148,13 +149,15 @@ MyFrame::MyFrame(const wxString& title)
     // set the frame icon
     SetIcon(wxICON(sample));
 
+//   char * c = new char [100] ;
+//   strcpy (c, "hello");
 #if wxUSE_MENUS
     // create a menu bar
     wxMenu *fileMenu = new wxMenu;
 
     // the "About" item should be in the help menu
     wxMenu *helpMenu = new wxMenu;
-    helpMenu->Append(Minimal_About, _T("&About...\tF1"), _T("Show about dialog"));
+    helpMenu->Append(Minimal_About, "hello", _T("Show about dialog"));
 
     fileMenu->Append(Minimal_Quit, _T("E&xit\tAlt-X"), _T("Quit this program"));
 
index 4d1136ce3b8e825da859d337339813dad1fa7c33..0eabaf5d9b83b725fb11ea687dd1afd84c004aac 100644 (file)
@@ -30,6 +30,9 @@
 
 #ifndef WX_PRECOMP
     #include "wx/button.h"
+    #include "wx/dcclient.h"
+    #include "wx/menu.h"
+    #include "wx/dcmemory.h"
 #endif //WX_PRECOMP
 
 #if wxUSE_SEARCHCTRL