From: Chris Elliott Date: Mon, 11 Dec 2006 09:30:26 +0000 (+0000) Subject: fix missing includessrc/generic/srchctlg.cpp X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/38f74dffc11f9afca3e1ad20ac2b1146fc75a1b3?ds=inline fix missing includessrc/generic/srchctlg.cpp git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/minimal/minimal.cpp b/samples/minimal/minimal.cpp index 3bfad6019d..e1f25e73a8 100644 --- a/samples/minimal/minimal.cpp +++ b/samples/minimal/minimal.cpp @@ -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")); diff --git a/src/generic/srchctlg.cpp b/src/generic/srchctlg.cpp index 4d1136ce3b..0eabaf5d9b 100644 --- a/src/generic/srchctlg.cpp +++ b/src/generic/srchctlg.cpp @@ -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