projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use the app name, not display name, as debug report name,
[wxWidgets.git]
/
src
/
generic
/
busyinfo.cpp
diff --git
a/src/generic/busyinfo.cpp
b/src/generic/busyinfo.cpp
index 723678c0276ff9f739dfb6a304cd792d1c8d2c30..245741c191fc9e6e572eba3f0103933fa19496a2 100644
(file)
--- a/
src/generic/busyinfo.cpp
+++ b/
src/generic/busyinfo.cpp
@@
-24,6
+24,7
@@
#endif
#include "wx/busyinfo.h"
#endif
#include "wx/busyinfo.h"
+#include "wx/generic/stattextg.h"
class WXDLLEXPORT wxInfoFrame : public wxFrame
{
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 );
| 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);
wxStaticText *text = new wxStaticText(panel, wxID_ANY, message);
+#endif
panel->SetCursor(*wxHOURGLASS_CURSOR);
text->SetCursor(*wxHOURGLASS_CURSOR);
panel->SetCursor(*wxHOURGLASS_CURSOR);
text->SetCursor(*wxHOURGLASS_CURSOR);