]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/statline.h
fix VC compilation warnings about implicit int->bool conversion after last check in
[wxWidgets.git] / include / wx / os2 / statline.h
index a0142e87b61625c346cb25de9306f6c1bd16440b..83382c71051a1f9b942f155a79b8a22af475aa74 100644 (file)
 #ifndef _WX_OS2_STATLINE_H_
 #define _WX_OS2_STATLINE_H_
 
-#ifdef __GNUG__
-    #pragma interface
-#endif
-
 // ----------------------------------------------------------------------------
 // wxStaticLine
 // ----------------------------------------------------------------------------
@@ -26,7 +22,7 @@ public:
     // constructors and pseudo-constructors
     wxStaticLine() { }
     wxStaticLine( wxWindow*       pParent
-                 ,wxWindowID      vId
+                 ,wxWindowID      vId = wxID_ANY
                  ,const wxPoint&  rPos = wxDefaultPosition
                  ,const wxSize&   rSize = wxDefaultSize
                  ,long            lStyle = wxLI_HORIZONTAL
@@ -37,7 +33,7 @@ public:
     }
 
     bool Create(  wxWindow*       pParent
-                 ,wxWindowID      vId
+                 ,wxWindowID      vId = wxID_ANY
                  ,const wxPoint&  rPos = wxDefaultPosition
                  ,const wxSize&   rSize = wxDefaultSize
                  ,long            lStyle = wxLI_HORIZONTAL
@@ -74,6 +70,13 @@ protected:
 
     inline wxSize DoGetBestSize(void) const { return (AdjustSize(wxDefaultSize)); }
 
+    //
+    // Usually overridden base class virtuals
+    //
+    virtual WXDWORD OS2GetStyle( long     lStyle
+                                ,WXDWORD* pdwExstyle
+                               ) const;
+
 private:
     DECLARE_DYNAMIC_CLASS(wxStaticLine)
 }; // end of CLASS wxStaticLine