From 45d023b7d2ba56ce61f6da86658ac9c812d1f4e6 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 10 May 2007 23:17:59 +0000 Subject: [PATCH] fix default styles git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/_pywindows.i | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wxPython/src/_pywindows.i b/wxPython/src/_pywindows.i index 3dfc58acab..5ec3889dc3 100644 --- a/wxPython/src/_pywindows.i +++ b/wxPython/src/_pywindows.i @@ -240,7 +240,7 @@ public: wxPyPanel(wxWindow* parent, const wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = 0, + long style = wxTAB_TRAVERSAL | wxNO_BORDER, const wxString& name = wxPyPanelNameStr) : wxPanel(parent, id, pos, size, style, name) {} @@ -334,7 +334,7 @@ public: wxPyPanel(wxWindow* parent, const wxWindowID id=-1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = 0, + long style = wxTAB_TRAVERSAL | wxNO_BORDER, const wxString& name = wxPyPanelNameStr); %RenameCtor(PrePyPanel, wxPyPanel()); @@ -415,7 +415,7 @@ public: wxPyScrolledWindow(wxWindow* parent, const wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = 0, + long style = wxHSCROLL | wxVSCROLL, const wxString& name = wxPyPanelNameStr) : wxScrolledWindow(parent, id, pos, size, style, name) {} @@ -508,7 +508,7 @@ public: wxPyScrolledWindow(wxWindow* parent, const wxWindowID id=-1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = 0, + long style = wxHSCROLL | wxVSCROLL, const wxString& name = wxPyPanelNameStr); %RenameCtor(PrePyScrolledWindow, wxPyScrolledWindow());