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:
		@@ -83,6 +83,7 @@ public:
 | 
			
		||||
    virtual ~ButtonWidgetsPage(){};
 | 
			
		||||
 | 
			
		||||
    virtual wxControl *GetWidget() const { return m_button; }
 | 
			
		||||
    virtual void RecreateWidget() { CreateButton(); }
 | 
			
		||||
 | 
			
		||||
protected:
 | 
			
		||||
    // event handlers
 | 
			
		||||
@@ -311,7 +312,7 @@ void ButtonWidgetsPage::CreateButton()
 | 
			
		||||
        label = m_textLabel->GetValue();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    int flags = 0;
 | 
			
		||||
    int flags = ms_defaultFlags;
 | 
			
		||||
    switch ( m_radioHAlign->GetSelection() )
 | 
			
		||||
    {
 | 
			
		||||
        case ButtonHAlign_Left:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user