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:
parent
0d80050057
commit
ae5593bd23
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue