]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/resource.cpp
and the compilation fix for the warning fixes
[wxWidgets.git] / src / common / resource.cpp
index b3391f9ac76ebe3fbe2a9669b04690364212a372..83def5dbb7ed5a3f2df6aa74dd1b22c6e67d23ee 100644 (file)
@@ -2890,7 +2890,7 @@ bool wxWindowBase::LoadFromResource(wxWindow *parent, const wxString& resourceNa
   else if (IsKindOf(CLASSINFO(wxPanel)))
   {
     wxPanel* panel = (wxPanel *)this;
-    if (!panel->Create(parent, -1, wxPoint(x, y), wxSize(width, height), theWindowStyle, name))
+    if (!panel->Create(parent, -1, wxPoint(x, y), wxSize(width, height), theWindowStyle | wxTAB_TRAVERSAL, name))
       return FALSE;
   }
   else