+ showsBitmap = true;
+
+ static const wxDirection positions[] =
+ {
+ wxLEFT, wxRIGHT, wxTOP, wxBOTTOM
+ };
+
+ m_button->SetBitmap(wxArtProvider::GetIcon(wxART_INFORMATION),
+ positions[m_radioImagePos->GetSelection()]);
+
+ if ( m_chkUsePressed->GetValue() )
+ m_button->SetBitmapPressed(wxArtProvider::GetIcon(wxART_HELP));
+ if ( m_chkUseFocused->GetValue() )
+ m_button->SetBitmapFocus(wxArtProvider::GetIcon(wxART_ERROR));
+ if ( m_chkUseCurrent->GetValue() )
+ m_button->SetBitmapCurrent(wxArtProvider::GetIcon(wxART_WARNING));
+ if ( m_chkUseDisabled->GetValue() )
+ m_button->SetBitmapDisabled(wxArtProvider::GetIcon(wxART_MISSING_IMAGE));