]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/frame.cpp
Use type safe list for model notifiers, sample corrected
[wxWidgets.git] / src / motif / frame.cpp
index c4555bb1500fc20fa595fe633ac9bf07b73e7201..c81a189d9781d978d6774c39040528ee65d239c7 100644 (file)
@@ -452,8 +452,8 @@ void wxFrame::SetTitle(const wxString& title)
 
     if( !title.empty() )
         XtVaSetValues( (Widget)m_frameShell,
-                       XmNtitle, title.mb_str(),
-                       XmNiconName, title.mb_str(),
+                       XmNtitle, (const char*)title.mb_str(),
+                       XmNiconName, (const char*)title.mb_str(),
                        NULL );
 }
 
@@ -536,7 +536,7 @@ void wxFrame::OnSysColourChanged(wxSysColourChangedEvent& event)
     {
         wxSysColourChangedEvent event2;
         event2.SetEventObject( m_frameStatusBar );
-        m_frameStatusBar->ProcessEvent(event2);
+        m_frameStatusBar->GetEventHandler()->ProcessEvent(event2);
     }
 
     // Propagate the event to the non-top-level children