X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/62a1177692935b06dc6382c22cb65620b5cf6888..7a8d94185f3d3237861e582c80cf5b7ac43c3c74:/samples/richedit/wxlwindow.h diff --git a/samples/richedit/wxlwindow.h b/samples/richedit/wxlwindow.h index 8733d7a6ca..5037cc181a 100644 --- a/samples/richedit/wxlwindow.h +++ b/samples/richedit/wxlwindow.h @@ -177,6 +177,7 @@ public: /// Redraws the window, used by RequestUpdate() or OnPaint(). void InternalPaint(const wxRect *updateRect); +#if wxUSE_STATUSBAR /** Tell window to update a wxStatusBar with UserData labels and cursor positions. @param bar wxStatusBar pointer @@ -190,6 +191,7 @@ public: m_StatusBar = bar; m_StatusFieldLabel = labelfield; m_StatusFieldCursor = cursorfield; } +#endif // wxUSE_STATUSBAR #ifndef __WXMSW__ /// Enable or disable focus follow mode under non-MSW @@ -307,8 +309,10 @@ private: wxBitmap *m_bitmap; wxPoint m_bitmapSize; +#if wxUSE_STATUSBAR /// A frame's statusbar to update class wxStatusBar *m_StatusBar; +#endif // wxUSE_STATUSBAR /// statusbar field for labels int m_StatusFieldLabel;