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:
@@ -78,6 +78,7 @@ public:
|
||||
|
||||
virtual wxControl *GetWidget() const { return m_spinbtn; }
|
||||
virtual wxControl *GetWidget2() const { return m_spinctrl; }
|
||||
virtual void RecreateWidget() { CreateSpin(); }
|
||||
|
||||
protected:
|
||||
// event handlers
|
||||
@@ -268,7 +269,7 @@ void SpinBtnWidgetsPage::Reset()
|
||||
|
||||
void SpinBtnWidgetsPage::CreateSpin()
|
||||
{
|
||||
int flags = 0;
|
||||
int flags = ms_defaultFlags;
|
||||
|
||||
bool isVert = m_chkVert->GetValue();
|
||||
if ( isVert )
|
||||
|
Reference in New Issue
Block a user