]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/docview/docview.h
Don't prematurely return from Create before appending the choices, and etc.
[wxWidgets.git] / samples / docview / docview.h
index 08289db1bc4c78c09ccf336b0a939239de00820f..06582fb3544862401ed4213185ea27b7d84c224f 100644 (file)
@@ -9,10 +9,6 @@
 // Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
-// #pragma interface "docview.h"
-#endif
-
 #ifndef __DOCVIEWSAMPLEH__
 #define __DOCVIEWSAMPLEH__
 
@@ -59,7 +55,7 @@ public:
 extern MyFrame *GetMainFrame(void);
 
 #define DOCVIEW_CUT     1
-#define DOCVIEW_ABOUT   2
+#define DOCVIEW_ABOUT   wxID_ABOUT
 
 extern bool singleWindowMode;