]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/frame.cpp
fixed bug in ConvertWxToFileTime (bug 525868)
[wxWidgets.git] / src / mac / carbon / frame.cpp
index adc15790af5a511acb22c6768a1ae5fbfcae9e03..990ba1a5141cd7315d8768782e9dfbe3dd903d4b 100644 (file)
@@ -101,7 +101,7 @@ bool wxFrame::Create(wxWindow *parent,
            long style,
            const wxString& name)
 {
-  SetBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_APPWORKSPACE));
+  SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_APPWORKSPACE));
 
     if ( !wxTopLevelWindow::Create(parent, id, title, pos, size, style, name) )
         return FALSE;
@@ -170,7 +170,7 @@ void wxFrame::PositionStatusBar()
 // Responds to colour changes, and passes event on to children.
 void wxFrame::OnSysColourChanged(wxSysColourChangedEvent& event)
 {
-    SetBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_APPWORKSPACE));
+    SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_APPWORKSPACE));
     Refresh();
 
     if ( m_frameStatusBar )