MicroWindows tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2001-12-21 17:01:02 +00:00
parent d2913c40ab
commit e640f8231f
8 changed files with 262 additions and 46 deletions

View File

@@ -377,7 +377,7 @@ bool wxWindowMSW::Create(wxWindow *parent,
//
// the correct solution is to create the controls as siblings of the
// static box
wxASSERT_MSG( !wxDynamicCastThis(wxStaticBox),
wxASSERT_MSG( !wxDynamicCast(parent, wxStaticBox),
_T("wxStaticBox can't be used as a window parent!") );
#endif // wxUSE_STATBOX