From 863001cdca7a9e69edef97d7e994a2b071944ae3 Mon Sep 17 00:00:00 2001 From: Jouk Jansen Date: Tue, 17 Mar 2009 13:54:19 +0000 Subject: [PATCH] correct typo in my previous commit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/docview/docview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/docview/docview.cpp b/samples/docview/docview.cpp index 19503d7e4a..69d22c48a4 100644 --- a/samples/docview/docview.cpp +++ b/samples/docview/docview.cpp @@ -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__ ) && defined( 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__ ) && defined( wxOSX_USE_CARBON ) wxFileName::MacRegisterDefaultTypeAndCreator("txt" , 'TEXT' , 'WXMA'); #endif }