]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/docview/docview.cpp
Add a test of precisely sized status bar fields.
[wxWidgets.git] / samples / docview / docview.cpp
index 19503d7e4a8e91a0c43798b567978aceb18f45a9..b3332a6f5596da267c24e9996361ffc835153d2f 100644 (file)
@@ -157,7 +157,7 @@ bool MyApp::OnInit()
     new wxDocTemplate(docManager, "Drawing", "*.drw", "", "drw",
                       "Drawing Doc", "Drawing View",
                       CLASSINFO(DrawingDocument), CLASSINFO(DrawingView));
-#if defined __WXMAC__ )  && defined( wxOSX_USE_CARBON )
+#if defined( __WXMAC__ )  && wxOSX_USE_CARBON
     wxFileName::MacRegisterDefaultTypeAndCreator("drw" , 'WXMB' , 'WXMA');
 #endif
 
@@ -173,7 +173,7 @@ bool MyApp::OnInit()
         new wxDocTemplate(docManager, "Text", "*.txt;*.text", "", "txt;text",
                           "Text Doc", "Text View",
                           CLASSINFO(TextEditDocument), CLASSINFO(TextEditView));
-#if defined __WXMAC__ )  && defined( wxOSX_USE_CARBON )
+#if defined( __WXMAC__ ) && wxOSX_USE_CARBON
         wxFileName::MacRegisterDefaultTypeAndCreator("txt" , 'TEXT' , 'WXMA');
 #endif
     }