projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
correction to last commit: Korean and Romanian translations will only be in 2.9.1...
[wxWidgets.git]
/
src
/
motif
/
checkbox.cpp
diff --git
a/src/motif/checkbox.cpp
b/src/motif/checkbox.cpp
index 42f44e24fc361a6659b1a9aecc6522bcb0caa7bb..1a79bf75ec76879fe5d44f4dfa1a62156d119059 100644
(file)
--- a/
src/motif/checkbox.cpp
+++ b/
src/motif/checkbox.cpp
@@
-12,10
+12,6
@@
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
-#ifdef __VMS
-#define XtDisplay XTDISPLAY
-#endif
-
#include "wx/checkbox.h"
#ifndef WX_PRECOMP
#include "wx/checkbox.h"
#ifndef WX_PRECOMP
@@
-148,7
+144,7
@@
void wxCheckBox::ChangeBackgroundColour()
return;
wxComputeColours (XtDisplay((Widget) m_mainWidget), & m_backgroundColour,
return;
wxComputeColours (XtDisplay((Widget) m_mainWidget), & m_backgroundColour,
-
(wxColour*)
NULL);
+ NULL);
XtVaSetValues ((Widget) m_mainWidget,
XmNbackground, g_itemColors[wxBACK_INDEX].pixel,
XtVaSetValues ((Widget) m_mainWidget,
XmNbackground, g_itemColors[wxBACK_INDEX].pixel,
@@
-222,7
+218,7
@@
wxCheckBoxState wxCheckBox::DoGet3StateValue() const
#if wxUSE_TOGGLEBTN
#if wxUSE_TOGGLEBTN
-DEFINE_EVENT_TYPE(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED)
+wxDEFINE_EVENT( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, wxCommandEvent );
IMPLEMENT_DYNAMIC_CLASS(wxToggleButton, wxControl)
bool wxToggleButton::Create( wxWindow* parent, wxWindowID id,
IMPLEMENT_DYNAMIC_CLASS(wxToggleButton, wxControl)
bool wxToggleButton::Create( wxWindow* parent, wxWindowID id,