Fix wxButton page in widgets sample
Enable image alignment radio box only if button with text and image is active because it is applicable only in this case.
This commit is contained in:
@@ -547,6 +547,7 @@ void ButtonWidgetsPage::CreateButton()
|
||||
m_chkUseFocused->Enable(showsBitmap);
|
||||
m_chkUseCurrent->Enable(showsBitmap);
|
||||
m_chkUseDisabled->Enable(showsBitmap);
|
||||
m_radioImagePos->Enable(m_chkTextAndBitmap->IsChecked());
|
||||
|
||||
if ( m_chkAuthNeeded->GetValue() )
|
||||
m_button->SetAuthNeeded();
|
||||
|
Reference in New Issue
Block a user