STL build compilation fix.
Explicitly cast wxWindowBase pointer to wxWindow before passing it to wxWindowList::Find(). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c200f9a3b7
commit
54a3120e95
@ -243,7 +243,9 @@ bool wxWindowBase::CreateBase(wxWindowBase *parent,
|
||||
// size, this worked like this in wxWidgets 2.8 and before and generally
|
||||
// often makes sense for child windows (for top level ones it definitely
|
||||
// does not as the user should be able to resize the window)
|
||||
if ( !wxTopLevelWindows.Find(this) ) // can't use IsTopLevel() from ctor
|
||||
//
|
||||
// note that we can't use IsTopLevel() from ctor
|
||||
if ( !wxTopLevelWindows.Find((wxWindow *)this) )
|
||||
SetMinSize(size);
|
||||
|
||||
SetName(name);
|
||||
|
Loading…
Reference in New Issue
Block a user