]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dlmsw.cpp
Deprecate wxPathExists, make wxDirExists used everywhere, minor source cleaning.
[wxWidgets.git] / src / msw / dlmsw.cpp
index 9f904a240cd7e2de2ea6bc27ddb8a0f7af34974a..aebf3e5165e6d98f4aa18a6073ed3ba2177c3dd2 100644 (file)
@@ -244,6 +244,15 @@ wxDynamicLibraryDetailsCreator::EnumModulesProc(PSTR name,
 // wxDynamicLibrary implementation
 // ============================================================================
 
+// ----------------------------------------------------------------------------
+// misc functions
+// ----------------------------------------------------------------------------
+
+wxDllType wxDynamicLibrary::GetProgramHandle()
+{
+    return (wxDllType)::GetModuleHandle(NULL);
+}
+
 // ----------------------------------------------------------------------------
 // loading/unloading DLLs
 // ----------------------------------------------------------------------------