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:
Vadim Zeitlin
2014-10-24 21:54:25 +00:00
parent 7e3b5314dd
commit f9788f7e27

View File

@@ -38,12 +38,7 @@ private:
wxInfoFrame::wxInfoFrame(wxWindow *parent, const wxString& message)
: wxFrame(parent, wxID_ANY, wxString(),
wxDefaultPosition, wxDefaultSize,
#if defined(__WXX11__)
wxRESIZE_BORDER
#else
wxSIMPLE_BORDER
#endif
| wxFRAME_TOOL_WINDOW | wxSTAY_ON_TOP)
wxSIMPLE_BORDER | wxFRAME_TOOL_WINDOW | wxSTAY_ON_TOP)
{
wxPanel *panel = new wxPanel( this );
#ifdef __WXGTK__