Changeset 56221
- Timestamp:
- 10/10/08 13:56:45 (6 weeks ago)
- Location:
- wxWidgets/trunk/utils/screenshotgen/src
- Files:
-
- 3 modified
-
guidesign.fbp (modified) (1 diff)
-
guiframe.cpp (modified) (1 diff)
-
screenshot_main.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wxWidgets/trunk/utils/screenshotgen/src/guidesign.fbp
r56149 r56221 578 578 <property name="pos"></property> 579 579 <property name="size"></property> 580 <property name="style"> </property>580 <property name="style">wxRB_GROUP</property> 581 581 <property name="subclass"></property> 582 582 <property name="tooltip">wxRadioButton</property> -
wxWidgets/trunk/utils/screenshotgen/src/guiframe.cpp
r56149 r56221 117 117 fgSizer1->Add( m_checkBox2, 0, wxALL|wxALIGN_CENTER_VERTICAL|wxALIGN_CENTER_HORIZONTAL, 20 ); 118 118 119 m_radioBtn1 = new wxRadioButton( m_panel1, wxID_ANY, _("Checked"), wxDefaultPosition, wxDefaultSize, 0);119 m_radioBtn1 = new wxRadioButton( m_panel1, wxID_ANY, _("Checked"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP ); 120 120 m_radioBtn1->SetValue( true ); 121 121 m_radioBtn1->SetToolTip( _("wxRadioButton") ); -
wxWidgets/trunk/utils/screenshotgen/src/screenshot_main.cpp
r56149 r56221 78 78 79 79 Those customizations will be done here. 80 81 82 NB: under wxGTK for the radio button "unchecked" to be unchecked, it's 83 important to put the wxRB_GROUP style on the first wxRadioButton 84 (the one "checked") and no flags on the second one. 80 85 */ 81 86 void ScreenshotFrame::InitFBControls() 82 87 { 83 // explicitely uncheck radio button:84 m_radioBtn2->SetValue(false);85 86 88 // For some reason, wxFormBuilder does not set the scrollbar range 87 89 m_scrollBar1->SetScrollbar(50, 1, 100, 1);
