From: Stefan Csomor Date: Thu, 25 Nov 2004 17:42:50 +0000 (+0000) Subject: removed explicit IDs for scrollbars on mac X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/375bb200e33ce37502f0e4fbeed539aaacc8c722?hp=063b752ebcc09932ecff4066c5b3ed6c7e9cfa10 removed explicit IDs for scrollbars on mac git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/window.cpp b/src/mac/carbon/window.cpp index 83c5fba382..4b312d033e 100644 --- a/src/mac/carbon/window.cpp +++ b/src/mac/carbon/window.cpp @@ -44,9 +44,6 @@ #include "wx/caret.h" #endif // wxUSE_CARET -#define wxWINDOW_HSCROLL 5998 -#define wxWINDOW_VSCROLL 5997 - #define MAC_SCROLLBAR_SIZE 15 #define MAC_SMALL_SCROLLBAR_SIZE 11 @@ -2972,13 +2969,13 @@ void wxWindowMac::MacCreateScrollBars( long style ) if ( style & wxVSCROLL ) { - m_vScrollBar = new wxScrollBar(this, wxWINDOW_VSCROLL, vPoint, + m_vScrollBar = new wxScrollBar(this, wxID_ANY, vPoint, vSize , wxVERTICAL); } if ( style & wxHSCROLL ) { - m_hScrollBar = new wxScrollBar(this, wxWINDOW_HSCROLL, hPoint, + m_hScrollBar = new wxScrollBar(this, wxID_ANY, hPoint, hSize , wxHORIZONTAL); } }