]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/main.cpp
Updated info about missing parts in OW headers (now reported and fixed for incoming...
[wxWidgets.git] / src / msw / main.cpp
index 577873e340989c39537fe69b98fa125977c5b258..ffd0db8921b47fe6127d99f2368cce5f0a0c5149 100644 (file)
@@ -251,7 +251,7 @@ int wxEntry(int& argc, wxChar **argv)
 
 #endif // wxUSE_BASE
 
-#if wxUSE_GUI
+#if wxUSE_GUI && defined(__WXMSW__)
 
 // ----------------------------------------------------------------------------
 // Windows-specific wxEntry
@@ -370,7 +370,7 @@ DllMain(HINSTANCE hModule, DWORD fdwReason, LPVOID WXUNUSED(lpReserved))
 
 #endif // !NOMAIN
 
-#endif // wxUSE_GUI
+#endif // wxUSE_GUI && __WXMSW__
 
 // ----------------------------------------------------------------------------
 // global HINSTANCE