OSX regrouping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -82,7 +82,7 @@ bool wxGenericCollapsiblePane::Create(wxWindow *parent,
|
||||
|
||||
m_strLabel = label;
|
||||
|
||||
#ifdef __WXMAC__
|
||||
#if defined( __WXMAC__ ) && !defined(__WXUNIVERSAL__)
|
||||
// on Mac we use the disclosure triangle
|
||||
// we need a light gray line above and below, lets approximate with the frame
|
||||
m_pStaticLine = NULL;
|
||||
@@ -197,7 +197,7 @@ void wxGenericCollapsiblePane::Collapse(bool collapse)
|
||||
m_pPane->Show(!collapse);
|
||||
|
||||
// update button label
|
||||
#ifdef __WXMAC__
|
||||
#if defined( __WXMAC__ ) && !defined(__WXUNIVERSAL__)
|
||||
m_pButton->SetOpen( !collapse );
|
||||
#else
|
||||
// NB: this must be done after updating our "state"
|
||||
|
||||
Reference in New Issue
Block a user