]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/app.cpp
removed wxDialog::SetSize() which just called wxWindow::SetSize()
[wxWidgets.git] / src / msw / app.cpp
index 9d46228d8bc357b316ab097ac609b5b2a4256cb0..300ec55493318d9e44e4d752c243aaafb65754e3 100644 (file)
@@ -186,10 +186,12 @@ bool wxApp::Initialize()
         return FALSE;
     }
 */
-       
+
+#ifndef __GNUWIN32__
     // we need to initialize OLE library
     if ( FAILED(::OleInitialize(NULL)) )
       wxFatalError(_("Cannot initialize OLE"));
+#endif
 
 #if CTL3D
     if (!Ctl3dRegister(wxhInstance))
@@ -502,7 +504,9 @@ void wxApp::CleanUp()
   if ( wxDisableButtonBrush )
     ::DeleteObject( wxDisableButtonBrush ) ;
 
+#ifndef __GNUWIN32__
   ::OleUninitialize();
+#endif
 
 #if CTL3D
   Ctl3dUnregister(wxhInstance);