X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/99d800190a04a2deaf769017a5fae04a4ae50378..5b9003ae3213f487fa3be74804b426a8ad0db323:/include/wx/splitter.h diff --git a/include/wx/splitter.h b/include/wx/splitter.h index b2a7cad532..ae14d386a6 100644 --- a/include/wx/splitter.h +++ b/include/wx/splitter.h @@ -28,9 +28,11 @@ #define wxSP_BORDER wxSP_3DBORDER #define wxSP_3D (wxSP_3DBORDER | wxSP_3DSASH) -// obsolete styles, don't do anything -#define wxSP_SASH_AQUA 0 -#define wxSP_FULLSASH 0 +#if WXWIN_COMPATIBILITY_2_6 + // obsolete styles, don't do anything + #define wxSP_SASH_AQUA 0 + #define wxSP_FULLSASH 0 +#endif // WXWIN_COMPATIBILITY_2_6 BEGIN_DECLARE_EVENT_TYPES() DECLARE_EVENT_TYPE(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 850)