{
wxExprDatabase db;
+#ifdef __WXMAC__
+ FILE *fd = fopen(wxUnix2MacFilename(filename.fn_str()), "r");
+#else
FILE *fd = fopen(filename.fn_str(), "r");
+#endif
if (!fd)
return FALSE;
bool eof = FALSE;
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