X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd72e7678d1f4fd36c4753373b2b22b59491f5a7..57ea89975efa3d98d6a641366adf269162755bd7:/utils/screenshotgen/src/screenshot_main.cpp diff --git a/utils/screenshotgen/src/screenshot_main.cpp b/utils/screenshotgen/src/screenshot_main.cpp index a8697bdbae..02c3ef5375 100644 --- a/utils/screenshotgen/src/screenshot_main.cpp +++ b/utils/screenshotgen/src/screenshot_main.cpp @@ -77,12 +77,14 @@ ScreenshotFrame::~ScreenshotFrame() e.g. you cannot load a richtext file in a wxRichtextCtrl during initialization. Those customizations will be done here. + + + NB: under wxGTK for the radio button "unchecked" to be unchecked, it's + important to put the wxRB_GROUP style on the first wxRadioButton + (the one "checked") and no flags on the second one. */ void ScreenshotFrame::InitFBControls() { - // explicitely uncheck radio button: - m_radioBtn2->SetValue(false); - // For some reason, wxFormBuilder does not set the scrollbar range m_scrollBar1->SetScrollbar(50, 1, 100, 1);