X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6e8e9b6628556d1155ec1372d9a8b0d0dac64794..26dddf6c3455f95bef2dcb2a0a514fa0558b50ab:/include/wx/mac/checkbox.h diff --git a/include/wx/mac/checkbox.h b/include/wx/mac/checkbox.h index 3ca0a6f415..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_ -#ifdef __GNUG__ +#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)