projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use on gdk_draw_lines() call instead of multiple gdk_draw_line() ones (patch 717012)
[wxWidgets.git]
/
src
/
motif
/
accel.cpp
diff --git
a/src/motif/accel.cpp
b/src/motif/accel.cpp
index 1a24c747b202352e97c8d69db4c7b02ba8112a81..5ea448aec6eb1551d4e7014778c3c7bda3a3fa22 100644
(file)
--- a/
src/motif/accel.cpp
+++ b/
src/motif/accel.cpp
@@
-19,9
+19,7
@@
#include "wx/utils.h"
#include <ctype.h>
#include "wx/utils.h"
#include <ctype.h>
-#if !USE_SHARED_LIBRARIES
IMPLEMENT_DYNAMIC_CLASS(wxAcceleratorTable, wxObject)
IMPLEMENT_DYNAMIC_CLASS(wxAcceleratorTable, wxObject)
-#endif
class WXDLLEXPORT wxAcceleratorRefData: public wxObjectRefData
{
class WXDLLEXPORT wxAcceleratorRefData: public wxObjectRefData
{
@@
-67,7
+65,7
@@
wxAcceleratorTable::wxAcceleratorTable(const wxString& WXUNUSED(resource))
}
// Create from an array
}
// Create from an array
-wxAcceleratorTable::wxAcceleratorTable(int n, wxAcceleratorEntry entries[])
+wxAcceleratorTable::wxAcceleratorTable(int n,
const
wxAcceleratorEntry entries[])
{
wxAcceleratorRefData* data = new wxAcceleratorRefData;
m_refData = data;
{
wxAcceleratorRefData* data = new wxAcceleratorRefData;
m_refData = data;
@@
-101,7
+99,7
@@
bool wxAcceleratorEntry::MatchesEvent(const wxKeyEvent& event) const
bool eventAltDown = event.AltDown();
bool eventCtrlDown = event.ControlDown();
bool eventShiftDown = event.ShiftDown();
bool eventAltDown = event.AltDown();
bool eventCtrlDown = event.ControlDown();
bool eventShiftDown = event.ShiftDown();
- int eventKeyCode = event.KeyCode();
+ int eventKeyCode = event.
Get
KeyCode();
bool accAltDown = ((GetFlags() & wxACCEL_ALT) == wxACCEL_ALT);
bool accCtrlDown = ((GetFlags() & wxACCEL_CTRL) == wxACCEL_CTRL);
bool accAltDown = ((GetFlags() & wxACCEL_ALT) == wxACCEL_ALT);
bool accCtrlDown = ((GetFlags() & wxACCEL_CTRL) == wxACCEL_CTRL);