X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7ba00e77a3f69941d6a2050e67bdfff38b3238e..acd32ffcdb319f162633c20e0202db3f8542998a:/src/generic/busyinfo.cpp diff --git a/src/generic/busyinfo.cpp b/src/generic/busyinfo.cpp index e11108364a..723678c027 100644 --- a/src/generic/busyinfo.cpp +++ b/src/generic/busyinfo.cpp @@ -17,6 +17,7 @@ // for all others, include the necessary headers #ifndef WX_PRECOMP + #include "wx/frame.h" #include "wx/stattext.h" #include "wx/panel.h" #include "wx/utils.h" @@ -30,7 +31,7 @@ public: wxInfoFrame(wxWindow *parent, const wxString& message); private: - DECLARE_NO_COPY_CLASS(wxInfoFrame) + wxDECLARE_NO_COPY_CLASS(wxInfoFrame); }; @@ -38,11 +39,11 @@ wxInfoFrame::wxInfoFrame(wxWindow *parent, const wxString& message) : wxFrame(parent, wxID_ANY, wxT("Busy"), wxDefaultPosition, wxDefaultSize, #if defined(__WXX11__) - wxTHICK_FRAME + wxRESIZE_BORDER #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); @@ -113,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();