1. fixed small bug with toolbar size updates
2. fixed bug with showing message box from wxApp::OnInit() 3. fixed crash on DDE client disconnection 4. fixed wxExecute() which was broken since quite some time (hidden window creation problems) and in wxShell() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1278,7 +1278,9 @@ void wxWindowBase::DoSetClientObject( wxClientData *data )
|
||||
|
||||
wxClientData *wxWindowBase::DoGetClientObject() const
|
||||
{
|
||||
wxASSERT_MSG( m_clientDataType == ClientData_Object,
|
||||
// it's not an error to call GetClientObject() on a window which doesn't
|
||||
// have client data at all - NULL will be returned
|
||||
wxASSERT_MSG( m_clientDataType != ClientData_Void,
|
||||
wxT("this window doesn't have object client data") );
|
||||
|
||||
return m_clientObject;
|
||||
@@ -1295,7 +1297,9 @@ void wxWindowBase::DoSetClientData( void *data )
|
||||
|
||||
void *wxWindowBase::DoGetClientData() const
|
||||
{
|
||||
wxASSERT_MSG( m_clientDataType == ClientData_Void,
|
||||
// it's not an error to call GetClientData() on a window which doesn't have
|
||||
// client data at all - NULL will be returned
|
||||
wxASSERT_MSG( m_clientDataType != ClientData_Object,
|
||||
wxT("this window doesn't have void client data") );
|
||||
|
||||
return m_clientData;
|
||||
|
Reference in New Issue
Block a user