a single control in a panel.
sliders now have keyboard handling.
Missing headers for install (memconf.h and geometry.h).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5612
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#
-# This file was automatically generated by tmake at 20:20, 2000/01/22
+# This file was automatically generated by tmake at 17:45, 2000/01/23
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE UNX.T!
#
list.h \
log.h \
longlong.h \
+ memconf.h \
memory.h \
mimetype.h \
module.h \
gauge.h \
gdicmn.h \
gdiobj.h \
+ geometry.h \
gifdecod.h \
grid.h \
gsocket.h \
longlong.h \
matrix.h \
mdi.h \
+ memconf.h \
memory.h \
menu.h \
menuitem.h \
menu.o \
menuitem.o \
metafile.o \
+ mimetype.o \
minifram.o \
msgdlg.o \
nativdlg.o \
menu.d \
menuitem.d \
metafile.d \
+ mimetype.d \
minifram.d \
msgdlg.d \
nativdlg.d \
filedlg.o \
font.o \
fontdlg.o \
+ fontenum.o \
+ fontutil.o \
frame.o \
gauge.o \
gdiimage.o \
menu.o \
menuitem.o \
metafile.o \
+ mimetype.o \
minifram.o \
msgdlg.o \
nativdlg.o \
filedlg.d \
font.d \
fontdlg.d \
+ fontenum.d \
+ fontutil.d \
frame.d \
gauge.d \
gdiimage.d \
menu.d \
menuitem.d \
metafile.d \
+ mimetype.d \
minifram.d \
msgdlg.d \
nativdlg.d \
gauge.h W
gdicmn.h W
gdiobj.h W
+geometry.h W
gifdecod.h W
grid.h W
gsocket.h W
matrix.h W
mdi.h W
memory.h W B
+memconf.h W B
menu.h W
menuitem.h W
metafile.h W
void wxPanel::OnNavigationKey( wxNavigationKeyEvent& event )
{
- // there is not much to do if we have only one child (or not at all) and
+ // the event is propagated downwards if the event emitter was our parent
+ bool goingDown = event.GetEventObject() == GetParent();
+
// we're not interested in "notebook page change" events here
- if ( (GetChildren().GetCount() < 2) || event.IsWindowChange() )
+ if ( event.IsWindowChange() )
{
wxWindow *parent = GetParent();
if ( !parent || !parent->GetEventHandler()->ProcessEvent(event) )
// next acceptable child
wxWindowList::Node *node, *start_node;
- // the event is propagated downwards if the event emitter was our parent
- bool goingDown = event.GetEventObject() == GetParent();
-
const wxWindowList& children = GetChildren();
// we should start from the first/last control and not from the one which
// think my addition to OnNavigationKey() above takes care of it.
// Keeping #ifdef __WXGTK__ for now, but please try removing it and see
// what happens.
- // RR: Removed for now.
+ //
+ // RR: Removed for now. Let's see what happens..
if ( !SetFocusToChild() )
{
if (style & wxSL_LABELS)
{
gtk_scale_set_draw_value( GTK_SCALE( m_widget ), TRUE );
- gtk_scale_set_digits( GTK_SCALE( m_widget ), 0 );
+ gtk_scale_set_digits( GTK_SCALE( m_widget ), 0 );
/* labels need more space and too small window will
cause junk to appear on the dialog */
m_adjust->lower = fmin;
m_adjust->upper = fmax;
+ m_adjust->step_increment = 1.0;
+ m_adjust->page_increment = ceil((fmax-fmin) / 10.0);
gtk_signal_emit_by_name( GTK_OBJECT(m_adjust), "changed" );
}
if (style & wxSL_LABELS)
{
gtk_scale_set_draw_value( GTK_SCALE( m_widget ), TRUE );
- gtk_scale_set_digits( GTK_SCALE( m_widget ), 0 );
+ gtk_scale_set_digits( GTK_SCALE( m_widget ), 0 );
/* labels need more space and too small window will
cause junk to appear on the dialog */
m_adjust->lower = fmin;
m_adjust->upper = fmax;
+ m_adjust->step_increment = 1.0;
+ m_adjust->page_increment = ceil((fmax-fmin) / 10.0);
gtk_signal_emit_by_name( GTK_OBJECT(m_adjust), "changed" );
}