]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dynlib.cpp
Some minors changes, like adding empty lines at end of files, to be able to compile...
[wxWidgets.git] / src / common / dynlib.cpp
index a72fd4dac16e7e5738ff93ca2045f7606e59f898..bd6cbe525016d3fb27c6efba51373282c39aa6ff 100644 (file)
@@ -176,11 +176,12 @@ void *wxLibrary::GetSymbol(const wxString& symbname)
 wxDllType
 wxDllLoader::GetProgramHandle(void)
 {
-#ifdef __WXGTK__
-   return dlopen(NULL, RTLD_NOW/*RTLD_LAZY*/);
+#ifdef __UNIX__
+    return dlopen(NULL, RTLD_NOW/*RTLD_LAZY*/);
 #else
-#pragma warning "Not implemented, please fix!"
-   return 0;
+    wxFAIL_MSG(_("This method is not implemented under Windows"));
+
+    return 0;
 #endif   
 }