projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow build without fatal exceptions support.
[wxWidgets.git]
/
src
/
motif
/
scrolbar.cpp
diff --git
a/src/motif/scrolbar.cpp
b/src/motif/scrolbar.cpp
index 26909cacb24dff0260ed829829e31bdfacb6ae71..bb3f97a8d24262bd4506ade89412a5af3da16c89 100644
(file)
--- a/
src/motif/scrolbar.cpp
+++ b/
src/motif/scrolbar.cpp
@@
-9,10
+9,13
@@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#if
def __GNUG__
+#if
defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "scrolbar.h"
#endif
#pragma implementation "scrolbar.h"
#endif
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
#include "wx/defs.h"
#include "wx/scrolbar.h"
#include "wx/defs.h"
#include "wx/scrolbar.h"
@@
-104,7
+107,7
@@
void wxScrollBar::SetScrollbar(int position, int thumbSize, int range, int pageS
void wxScrollBar::Command(wxCommandEvent& event)
{
void wxScrollBar::Command(wxCommandEvent& event)
{
- SetThumbPosition(event.
m_commandInt
);
+ SetThumbPosition(event.
GetInt()
);
ProcessCommand(event);
}
ProcessCommand(event);
}