A little better failure message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -150,7 +150,7 @@ bool wxControl::MSWCreateControl(const wxChar *classname,
|
|||||||
if ( !m_hWnd )
|
if ( !m_hWnd )
|
||||||
{
|
{
|
||||||
wxLogDebug(wxT("Failed to create a control of class '%s'"), classname);
|
wxLogDebug(wxT("Failed to create a control of class '%s'"), classname);
|
||||||
wxFAIL_MSG(_T("something is very wrong"));
|
wxFAIL_MSG(_T("something is very wrong, CreateWindowEx failed"));
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user