// forward declared
class WXDLLIMPEXP_FWD_CORE wxButton;
class WXDLLIMPEXP_FWD_CORE wxStaticLine;
-#ifdef __WXMAC__
+#if defined( __WXMAC__ ) && !defined(__WXUNIVERSAL__)
class WXDLLIMPEXP_FWD_CORE wxDisclosureTriangle;
#endif
virtual bool Layout();
+
+ // for the generic collapsible pane only:
+ wxControl* GetControlWidget() const
+ { return (wxControl*)m_pButton; }
+
// implementation only, don't use
void OnStateChange(const wxSize& sizeNew);
int GetBorder() const;
// child controls
-#ifdef __WXMAC__
+#if defined( __WXMAC__ ) && !defined(__WXUNIVERSAL__)
wxDisclosureTriangle *m_pButton;
#else
wxButton *m_pButton;