]> git.saurik.com Git - wxWidgets.git/commitdiff
better appearance on mac w/o sunken border
authorStefan Csomor <csomor@advancedconcepts.ch>
Mon, 22 Oct 2007 08:13:51 +0000 (08:13 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Mon, 22 Oct 2007 08:13:51 +0000 (08:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/stc/edit.h

index 4a7ecf79d135586491a09742b00dee5ded2c9f91..c007173271dfae1108c274e74a5ba5dab3ab3573 100644 (file)
@@ -48,7 +48,11 @@ public:
     Edit (wxWindow *parent, wxWindowID id = wxID_ANY,
           const wxPoint &pos = wxDefaultPosition,
           const wxSize &size = wxDefaultSize,
     Edit (wxWindow *parent, wxWindowID id = wxID_ANY,
           const wxPoint &pos = wxDefaultPosition,
           const wxSize &size = wxDefaultSize,
-          long style = wxSUNKEN_BORDER|wxVSCROLL
+          long style = 
+#ifndef __WXMAC__
+          wxSUNKEN_BORDER|
+#endif
+          wxVSCROLL
          );
 
     //! destructor
          );
 
     //! destructor