added a menu allowing to change the border style used by the widget
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -87,6 +87,7 @@ public:
|
||||
virtual ~RadioWidgetsPage(){};
|
||||
|
||||
virtual wxControl *GetWidget() const { return m_radio; }
|
||||
virtual void RecreateWidget() { CreateRadio(); }
|
||||
|
||||
protected:
|
||||
// event handlers
|
||||
@@ -356,6 +357,8 @@ void RadioWidgetsPage::CreateRadio()
|
||||
int flags = m_chkVert->GetValue() ? wxRA_VERTICAL
|
||||
: wxRA_HORIZONTAL;
|
||||
|
||||
flags |= ms_defaultFlags;
|
||||
|
||||
#ifdef wxRA_LEFTTORIGHT
|
||||
switch ( m_radioDir->GetSelection() )
|
||||
{
|
||||
|
Reference in New Issue
Block a user