projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Blind bug fix to bug reported by Angel Kry.
[wxWidgets.git]
/
include
/
wx
/
motif
/
checkbox.h
diff --git
a/include/wx/motif/checkbox.h
b/include/wx/motif/checkbox.h
index 397fff2e11a979323291d8c6f97b40a41fa357d5..3dd762c3cc2137aa1b706dfcbad12ab2df0a43bb 100644
(file)
--- a/
include/wx/motif/checkbox.h
+++ b/
include/wx/motif/checkbox.h
@@
-12,12
+12,10
@@
#ifndef _WX_CHECKBOX_H_
#define _WX_CHECKBOX_H_
#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
#pragma interface "checkbox.h"
#endif
-#include "wx/control.h"
-
// Checkbox item (single checkbox)
class WXDLLEXPORT wxCheckBox: public wxCheckBoxBase
{
// Checkbox item (single checkbox)
class WXDLLEXPORT wxCheckBox: public wxCheckBoxBase
{
@@
-54,6
+52,10
@@
private:
m_evtType = wxEVT_COMMAND_CHECKBOX_CLICKED;
}
m_evtType = wxEVT_COMMAND_CHECKBOX_CLICKED;
}
+ virtual void DoSet3StateValue(wxCheckBoxState state);
+
+ virtual wxCheckBoxState DoGet3StateValue() const;
+
// public for the callback
public:
// either exEVT_COMMAND_CHECKBOX_CLICKED or ..._TOGGLEBUTTON_CLICKED
// public for the callback
public:
// either exEVT_COMMAND_CHECKBOX_CLICKED or ..._TOGGLEBUTTON_CLICKED