Fixed typos in window.cpp and utils.cpp
Tried to repair HP-UX compilation thing for iODBC. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -355,8 +355,8 @@ StringMatch (char *str1, char *str2, bool subString, bool exact)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
// Synthesize KeyUp events holding down a key and producing
|
||||
// KeyDown events with autorepeat. On by default an always
|
||||
// Don't synthesize KeyUp events holding down a key and producing
|
||||
// KeyDown events with autorepeat. On by default and always on
|
||||
// on in wxMSW. wxGTK version in utilsgtk.cpp.
|
||||
#ifndef __WXGTK__
|
||||
bool wxSetDetectableAutoRepeat( bool WXUNUSED(flag) )
|
||||
|
@@ -420,7 +420,7 @@ static void draw_frame( GtkWidget *widget, wxWindow *win )
|
||||
if (scroll_window->hscrollbar_visible)
|
||||
{
|
||||
dh += 15; /* dh += hscrollbar->allocation.height; */
|
||||
dw += scroll_class->scrollbar_spacing;
|
||||
dh += scroll_class->scrollbar_spacing;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2068,7 +2068,7 @@ void wxWindow::DoSetClientSize( int width, int height )
|
||||
if (scroll_window->hscrollbar_visible)
|
||||
{
|
||||
dh += 15; /* dh += hscrollbar->allocation.height; */
|
||||
dw += scroll_class->scrollbar_spacing;
|
||||
dh += scroll_class->scrollbar_spacing;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -420,7 +420,7 @@ static void draw_frame( GtkWidget *widget, wxWindow *win )
|
||||
if (scroll_window->hscrollbar_visible)
|
||||
{
|
||||
dh += 15; /* dh += hscrollbar->allocation.height; */
|
||||
dw += scroll_class->scrollbar_spacing;
|
||||
dh += scroll_class->scrollbar_spacing;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2068,7 +2068,7 @@ void wxWindow::DoSetClientSize( int width, int height )
|
||||
if (scroll_window->hscrollbar_visible)
|
||||
{
|
||||
dh += 15; /* dh += hscrollbar->allocation.height; */
|
||||
dw += scroll_class->scrollbar_spacing;
|
||||
dh += scroll_class->scrollbar_spacing;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user