wxWindow split into wxWindowBase and wxWindow (wxGTK part)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -166,7 +166,7 @@ bool wxBitmapButton::Create( wxWindow *parent, wxWindowID id, const wxBitmap &bi
|
||||
|
||||
m_parent->AddChild( this );
|
||||
|
||||
(m_parent->m_insertCallback)( m_parent, this );
|
||||
m_parent->InsertChild( this );
|
||||
|
||||
PostCreation();
|
||||
|
||||
@@ -278,11 +278,14 @@ void wxBitmapButton::SetBitmapSelected( const wxBitmap& bitmap )
|
||||
SetBitmap();
|
||||
}
|
||||
|
||||
void wxBitmapButton::Enable( const bool enable )
|
||||
bool wxBitmapButton::Enable( bool enable )
|
||||
{
|
||||
wxWindow::Enable(enable);
|
||||
if ( !wxWindow::Enable(enable) )
|
||||
return FALSE;
|
||||
|
||||
SetBitmap();
|
||||
SetBitmap();
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
void wxBitmapButton::HasFocus()
|
||||
|
Reference in New Issue
Block a user