X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1c067fe3c1e752658c63b4d556eb6a5468213860..ba86da30cf1a2a8429f3af465cbb6c9f52b307fb:/src/generic/busyinfo.cpp diff --git a/src/generic/busyinfo.cpp b/src/generic/busyinfo.cpp index 4d527e1555..723678c027 100644 --- a/src/generic/busyinfo.cpp +++ b/src/generic/busyinfo.cpp @@ -31,7 +31,7 @@ public: wxInfoFrame(wxWindow *parent, const wxString& message); private: - DECLARE_NO_COPY_CLASS(wxInfoFrame) + wxDECLARE_NO_COPY_CLASS(wxInfoFrame); }; @@ -43,7 +43,7 @@ wxInfoFrame::wxInfoFrame(wxWindow *parent, const wxString& message) #else wxSIMPLE_BORDER #endif - | wxFRAME_TOOL_WINDOW) + | wxFRAME_TOOL_WINDOW | wxSTAY_ON_TOP) { wxPanel *panel = new wxPanel( this ); wxStaticText *text = new wxStaticText(panel, wxID_ANY, message); @@ -114,7 +114,7 @@ wxInfoFrame::wxInfoFrame(wxWindow *parent, const wxString& message) wxBusyInfo::wxBusyInfo(const wxString& message, wxWindow *parent) { - m_InfoFrame = new wxInfoFrame( parent, message); + m_InfoFrame = new wxInfoFrame(parent, message); m_InfoFrame->Show(true); m_InfoFrame->Refresh(); m_InfoFrame->Update();