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
/
textctrl.cpp
diff --git
a/src/motif/textctrl.cpp
b/src/motif/textctrl.cpp
index aeafee2200798c6870935fecf4a94c07f478420d..92ea827279d08e71fcc7f00130714dc4fecb07ae 100644
(file)
--- a/
src/motif/textctrl.cpp
+++ b/
src/motif/textctrl.cpp
@@
-20,10
+20,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 XtParent XTPARENT
-#endif
-
#include <sys/types.h>
#include <sys/stat.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <ctype.h>
@@
-94,7
+90,7
@@
static void wxTextWindowActivateProc(Widget w, XtPointer clientData, XmAnyCallba
// Text item
wxTextCtrl::wxTextCtrl()
{
// Text item
wxTextCtrl::wxTextCtrl()
{
- m_tempCallbackStruct =
(void*)
NULL;
+ m_tempCallbackStruct = NULL;
m_modified = false;
m_processedDefault = false;
}
m_modified = false;
m_processedDefault = false;
}
@@
-112,7
+108,7
@@
bool wxTextCtrl::Create(wxWindow *parent,
return false;
PreCreation();
return false;
PreCreation();
- m_tempCallbackStruct =
(void*)
NULL;
+ m_tempCallbackStruct = NULL;
m_modified = false;
m_processedDefault = false;
m_modified = false;
m_processedDefault = false;
@@
-471,7
+467,7
@@
void wxTextCtrl::DoSendEvents(void *wxcbs, long keycode)
// the character passed through)
cbs->doit = False;
// the character passed through)
cbs->doit = False;
-
GetEventHandler()->Process
Event(event);
+
HandleWindow
Event(event);
if ( !InSetValue() && m_processedDefault )
{
if ( !InSetValue() && m_processedDefault )
{
@@
-667,7
+663,7
@@
wxTextWindowGainFocusProc (Widget w, XtPointer clientData, XmAnyCallbackStruct *
wxTextCtrl *tw = (wxTextCtrl *) clientData;
wxFocusEvent event(wxEVT_SET_FOCUS, tw->GetId());
event.SetEventObject(tw);
wxTextCtrl *tw = (wxTextCtrl *) clientData;
wxFocusEvent event(wxEVT_SET_FOCUS, tw->GetId());
event.SetEventObject(tw);
- tw->
GetEventHandler()->Process
Event(event);
+ tw->
HandleWindow
Event(event);
}
static void
}
static void
@@
-679,7
+675,7
@@
wxTextWindowLoseFocusProc (Widget w, XtPointer clientData, XmAnyCallbackStruct *
wxTextCtrl *tw = (wxTextCtrl *) clientData;
wxFocusEvent event(wxEVT_KILL_FOCUS, tw->GetId());
event.SetEventObject(tw);
wxTextCtrl *tw = (wxTextCtrl *) clientData;
wxFocusEvent event(wxEVT_KILL_FOCUS, tw->GetId());
event.SetEventObject(tw);
- tw->
GetEventHandler()->Process
Event(event);
+ tw->
HandleWindow
Event(event);
}
static void wxTextWindowActivateProc(Widget w, XtPointer clientData,
}
static void wxTextWindowActivateProc(Widget w, XtPointer clientData,