]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/utils.cpp
compilation fix for windows compilers: _wrename is declared in io.h
[wxWidgets.git] / src / mac / carbon / utils.cpp
index 696fe6e94ec6f5157c6208c5c248f3215ec24ef7..9afe0b6d5b7ccbc762b6abae2e6160780d6e7a75 100644 (file)
@@ -306,7 +306,13 @@ WXDLLEXPORT bool wxGetEnv(const wxString& var, wxString *value)
 }
 
 // set the env var name to the given value, return true on success
-WXDLLEXPORT bool wxSetEnv(const wxString& var, const wxChar *value)
+WXDLLEXPORT bool wxSetEnv(const wxString& var, const wxString& value)
+{
+    // TODO : under classic there is no environement support, under X yes
+    return false;
+}
+
+WXDLLEXPORT bool wxUnsetEnv(const wxString& var)
 {
     // TODO : under classic there is no environement support, under X yes
     return false;
@@ -381,7 +387,7 @@ wxPortId wxGUIAppTraits::GetToolkitVersion(int *verMaj, int *verMin) const
     return wxPORT_MAC;
 }
 
-wxEventLoop* wxGUIAppTraits::CreateEventLoop()
+wxEventLoopBase* wxGUIAppTraits::CreateEventLoop()
 {
     return new wxEventLoop;
 }