Don't use wxRESIZE_BORDER for wxInfoFrame, used by wxBusyInfo, under wxX11.
This doesn't make sense, this frame should never be resizeable, so clean up the code a little. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -38,12 +38,7 @@ private:
|
|||||||
wxInfoFrame::wxInfoFrame(wxWindow *parent, const wxString& message)
|
wxInfoFrame::wxInfoFrame(wxWindow *parent, const wxString& message)
|
||||||
: wxFrame(parent, wxID_ANY, wxString(),
|
: wxFrame(parent, wxID_ANY, wxString(),
|
||||||
wxDefaultPosition, wxDefaultSize,
|
wxDefaultPosition, wxDefaultSize,
|
||||||
#if defined(__WXX11__)
|
wxSIMPLE_BORDER | wxFRAME_TOOL_WINDOW | wxSTAY_ON_TOP)
|
||||||
wxRESIZE_BORDER
|
|
||||||
#else
|
|
||||||
wxSIMPLE_BORDER
|
|
||||||
#endif
|
|
||||||
| wxFRAME_TOOL_WINDOW | wxSTAY_ON_TOP)
|
|
||||||
{
|
{
|
||||||
wxPanel *panel = new wxPanel( this );
|
wxPanel *panel = new wxPanel( this );
|
||||||
#ifdef __WXGTK__
|
#ifdef __WXGTK__
|
||||||
|
Reference in New Issue
Block a user