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
/
gtk1
/
scrolbar.cpp
diff --git
a/src/gtk1/scrolbar.cpp
b/src/gtk1/scrolbar.cpp
index ea6a98e71ff8f5027fa2df08bd5fef84ce3c6ee4..82ad187aa693439d8a565dad63287d883eca91b7 100644
(file)
--- a/
src/gtk1/scrolbar.cpp
+++ b/
src/gtk1/scrolbar.cpp
@@
-188,9
+188,9
@@
bool wxScrollBar::Create(wxWindow *parent, wxWindowID id,
m_oldPos = 0.0;
if ((style & wxSB_VERTICAL) == wxSB_VERTICAL)
m_oldPos = 0.0;
if ((style & wxSB_VERTICAL) == wxSB_VERTICAL)
- m_widget = gtk_vscrollbar_new(
(GtkAdjustment *)
NULL );
+ m_widget = gtk_vscrollbar_new( NULL );
else
else
- m_widget = gtk_hscrollbar_new(
(GtkAdjustment *)
NULL );
+ m_widget = gtk_hscrollbar_new( NULL );
m_adjust = gtk_range_get_adjustment( GTK_RANGE(m_widget) );
m_adjust = gtk_range_get_adjustment( GTK_RANGE(m_widget) );