diff --git a/include/wx/log.h b/include/wx/log.h index 00485e46de..c07ee5825f 100644 --- a/include/wx/log.h +++ b/include/wx/log.h @@ -241,7 +241,7 @@ private: class WXDLLEXPORT wxLogStderr : public wxLog { DECLARE_NO_COPY_CLASS(wxLogStderr) - + public: // redirect log output to a FILE wxLogStderr(FILE *fp = (FILE *) NULL); @@ -563,7 +563,7 @@ DECLARE_LOG_FUNCTION2(SysError, long lErrCode); // wxLogFatalError helper: show the (fatal) error to the user in a safe way, // i.e. without using wxMessageBox() for example because it could crash -extern void wxSafeShowMessage(const wxString& title, const wxString& text); +void WXDLLEXPORT wxSafeShowMessage(const wxString& title, const wxString& text); // ---------------------------------------------------------------------------- // debug only logging functions: use them with API name and error code diff --git a/include/wx/settings.h b/include/wx/settings.h index 14d4e5fa3f..8d5467212f 100644 --- a/include/wx/settings.h +++ b/include/wx/settings.h @@ -171,7 +171,7 @@ public: // include the declaration of the real platform-dependent class // ---------------------------------------------------------------------------- -class wxSystemSettings : public wxSystemSettingsNative +class WXDLLEXPORT wxSystemSettings : public wxSystemSettingsNative { public: #ifdef __WXUNIVERSAL__ @@ -184,10 +184,10 @@ public: // Get system screen design (desktop, pda, ..) used for // laying out various dialogs. static wxSystemScreen GetScreen(); - + // Override default. static void SetScreen( wxSystemScreen screen ); - + // Value static wxSystemScreen ms_screen;