// public DLL interface
// ----------------------------------------------------------------------------
-extern "C" WXEXPORT
+extern "C"
+{
+
void run_wx_gui_from_dll(const char *title)
{
// In order to prevent conflicts with hosting app's event loop, we
wxQueueEvent(wxApp::GetInstance(), event);
}
-
-extern "C" WXEXPORT
-void wx_dll_cleanup(void)
+void wx_dll_cleanup()
{
wxCriticalSectionLocker lock(gs_wxStartupCS);
CloseHandle(gs_wxMainThread);
gs_wxMainThread = NULL;
}
+
+} // extern "C"