]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/main.cpp
added wxRadioBox::IsItemEnabled/Shown() (for MSW only for now, other platforms to...
[wxWidgets.git] / src / msw / main.cpp
index ead91896d565e1b9cea4dd61c1ed0e05e72f4f12..1967e0cff282a56ad1cfd6cf07a37b7e91c407f1 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -282,8 +278,7 @@ static bool wxIsUnicodeAvailable()
         );
 
         return false;
         );
 
         return false;
-#endif // !wxUSE_UNICODE_MSLU
-
+#else // wxUSE_UNICODE_MSLU
         // and the MSLU DLL must also be available
         HMODULE hmod = ::LoadLibraryA("unicows.dll");
         if ( !hmod )
         // and the MSLU DLL must also be available
         HMODULE hmod = ::LoadLibraryA("unicows.dll");
         if ( !hmod )
@@ -324,6 +319,7 @@ static bool wxIsUnicodeAvailable()
         }
 
         ::FreeLibrary(hmod);
         }
 
         ::FreeLibrary(hmod);
+#endif // !wxUSE_UNICODE_MSLU
     }
 
     return true;
     }
 
     return true;