#include "wx/combobox.h"
#include "wx/layout.h"
#include "wx/statusbr.h"
+ #include "wx/math.h"
#endif
#include "wx/module.h"
#include "wx/thread.h"
#endif
-#include "wx/math.h"
#include <ctype.h>
#include "wx/gtk1/private.h"
break;
case GDK_KP_Next: // == GDK_KP_Page_Down
- key_code = isChar ? WXK_NEXT : WXK_NUMPAD_PAGEDOWN;
+ key_code = isChar ? WXK_PAGEDOWN : WXK_NUMPAD_PAGEDOWN;
break;
case GDK_KP_End:
gdk_window_set_cursor( window, cursor.GetCursor() );
}
- else
+ else if ( m_widget )
{
-
GdkWindow *window = m_widget->window;
- if ((window) && !(GTK_WIDGET_NO_WINDOW(m_widget)))
+ if ( window && !GTK_WIDGET_NO_WINDOW(m_widget) )
gdk_window_set_cursor( window, cursor.GetCursor() );
-
}
}