X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af49c4b8a2d3553e733e71c7dd3911881f4c1a2a..594ed110f77d9f29f7165a07bb806e5a4fa19b0e:/include/wx/mac/checkbox.h?ds=sidebyside diff --git a/include/wx/mac/checkbox.h b/include/wx/mac/checkbox.h index 5f7db2068f..a426cb734b 100644 --- a/include/wx/mac/checkbox.h +++ b/include/wx/mac/checkbox.h @@ -1,18 +1,18 @@ ///////////////////////////////////////////////////////////////////////////// // Name: checkbox.h // Purpose: wxCheckBox class -// Author: AUTHOR +// Author: Stefan Csomor // Modified by: -// Created: ??/??/98 +// Created: 1998-01-01 // RCS-ID: $Id$ -// Copyright: (c) AUTHOR +// Copyright: (c) Stefan Csomor // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_CHECKBOX_H_ #define _WX_CHECKBOX_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "checkbox.h" #endif @@ -37,7 +37,11 @@ public: const wxString& name = wxCheckBoxNameStr); virtual void SetValue(bool); virtual bool GetValue() const; - virtual void MacHandleControlClick( WXWidget control , wxInt16 controlpart ); + + void DoSet3StateValue(wxCheckBoxState val); + virtual wxCheckBoxState DoGet3StateValue() const; + + virtual void MacHandleControlClick( WXWidget control , wxInt16 controlpart , bool mouseStillDown ); virtual void Command(wxCommandEvent& event); DECLARE_DYNAMIC_CLASS(wxCheckBox)