]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed Carbon compilation; call HID keyboard dtor for Darwin
authorDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Thu, 7 Oct 2004 11:26:32 +0000 (11:26 +0000)
committerDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Thu, 7 Oct 2004 11:26:32 +0000 (11:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/app.cpp

index 082a1c35ed12239bbad6873810264c7ca28f4ef6..494ac9592f48c142a70e569e5c6c9bd64c54694f 100644 (file)
@@ -723,7 +723,9 @@ void wxApp::CleanUp()
     ProfilerDump( (StringPtr)"\papp.prof" ) ;
     ProfilerTerm() ;
 #  endif
+#endif
 
+#ifdef __DARWIN__
     // clean up HID Keyboard
     if (s_macHIDKeyboard)
         delete s_macHIDKeyboard;