projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
correction to exception handling in threads: call wxThread::OnExit() always
[wxWidgets.git]
/
demos
/
fractal
/
fractal.cpp
diff --git
a/demos/fractal/fractal.cpp
b/demos/fractal/fractal.cpp
index 51df2ed7c2974c95d75c63841ab8cd35fe792ed3..6ff04d488273251d90f5e11dc695b5b0e71f2f78 100644
(file)
--- a/
demos/fractal/fractal.cpp
+++ b/
demos/fractal/fractal.cpp
@@
-27,11
+27,6
@@
doesn't seem to be an equivalent of under wxWidgets, and my quick
hack doesn't fix.
*/
hack doesn't fix.
*/
-#ifdef __GNUG__
-#pragma implementation
-#pragma interface
-#endif
-
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#include "wx/wxprec.h"
#ifdef __BORLANDC__
@@
-43,6
+38,7
@@
hack doesn't fix.
#endif //precompiled headers
#include "wx/math.h"
#endif //precompiled headers
#include "wx/math.h"
+#include "wx/stockitem.h"
#include <stdlib.h>
#include <time.h>
#include <stdlib.h>
#include <time.h>
@@
-101,7
+97,7
@@
bool MyApp::OnInit()
// Make a menubar
wxMenu *file_menu = new wxMenu;
// Make a menubar
wxMenu *file_menu = new wxMenu;
- file_menu->Append(wxID_EXIT,
_T("E&xit"
));
+ file_menu->Append(wxID_EXIT,
wxGetStockLabel(wxID_EXIT
));
menuBar = new wxMenuBar;
menuBar->Append(file_menu, _T("&File"));
frame->SetMenuBar(menuBar);
menuBar = new wxMenuBar;
menuBar->Append(file_menu, _T("&File"));
frame->SetMenuBar(menuBar);