]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/panelg.cpp
added wxSplitFile() to decompose a file name into path + name + ext
[wxWidgets.git] / src / generic / panelg.cpp
index b0f95fd82c5f7bdb6cd2ef3ef99df0046b0ef708..537816c80d55268194409fd73aa487f41874dc49 100644 (file)
@@ -93,7 +93,7 @@ void wxPanel::OnNavigationKey(wxNavigationKeyEvent& event)
   wxWindow *winFocus = event.GetCurrentFocus();
   
   // @@@ no FindFocus() in wxGTK
-  #ifndef __GTK__
+  #ifndef __WXGTK__
     if ( winFocus == NULL )
       winFocus = wxWindow::FindFocus();
   #endif
@@ -112,6 +112,9 @@ void wxPanel::OnNavigationKey(wxNavigationKeyEvent& event)
 // set focus to the next child which accepts it (or first/last if node == NULL)
 bool wxPanel::SetFocusToNextChild(wxNode *node, bool bForward)
 {
+       // Added by JACS since this seems to cause an infinite loop.
+       return FALSE;
+
   // @@ using typed list would be better...
   #define WIN(node) ((wxWindow *)(node->Data()))