many changes; major ones:
1. start of !wxUSE_GUI support 2. _T() macro renamed to T() 3. wxConvertWX2MB and MB2WX macro added git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -78,7 +78,7 @@ bool wxButton::Create( wxWindow *parent, wxWindowID id, const wxString &label,
|
||||
if (!PreCreation( parent, pos, size ) ||
|
||||
!CreateBase( parent, id, pos, size, style, validator, name ))
|
||||
{
|
||||
wxFAIL_MSG( _T("wxButton creation failed") );
|
||||
wxFAIL_MSG( T("wxButton creation failed") );
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
@@ -142,7 +142,7 @@ wxSize wxButton::GetDefaultSize()
|
||||
|
||||
void wxButton::SetLabel( const wxString &label )
|
||||
{
|
||||
wxCHECK_RET( m_widget != NULL, _T("invalid button") );
|
||||
wxCHECK_RET( m_widget != NULL, T("invalid button") );
|
||||
|
||||
wxControl::SetLabel( label );
|
||||
|
||||
|
Reference in New Issue
Block a user