X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0c133e13b36a923c65f94499554e432bc3a0daa..404b319a85dadd7decf7a5a5331020520031a41c:/src/generic/busyinfo.cpp diff --git a/src/generic/busyinfo.cpp b/src/generic/busyinfo.cpp index 723678c027..245741c191 100644 --- a/src/generic/busyinfo.cpp +++ b/src/generic/busyinfo.cpp @@ -24,6 +24,7 @@ #endif #include "wx/busyinfo.h" +#include "wx/generic/stattextg.h" class WXDLLEXPORT wxInfoFrame : public wxFrame { @@ -46,7 +47,11 @@ wxInfoFrame::wxInfoFrame(wxWindow *parent, const wxString& message) | wxFRAME_TOOL_WINDOW | wxSTAY_ON_TOP) { wxPanel *panel = new wxPanel( this ); +#ifdef __WXGTK__ + wxGenericStaticText *text = new wxGenericStaticText(panel, wxID_ANY, message); +#else wxStaticText *text = new wxStaticText(panel, wxID_ANY, message); +#endif panel->SetCursor(*wxHOURGLASS_CURSOR); text->SetCursor(*wxHOURGLASS_CURSOR);