]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/palmos/statusbr.h
don't draw borders for bitmap buttons with wxBORDER_NONE style
[wxWidgets.git] / include / wx / palmos / statusbr.h
index bcbfedb12c202f14eda7693c4aa0ac4732354614..273dbb928bccf099d56bdc80be4719c299514bef 100644 (file)
 #ifndef   _WX_STATUSBR_H_
 #define   _WX_STATUSBR_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "statusbr.h"
-#endif
-
 #if wxUSE_NATIVE_STATUSBAR
 
-class WXDLLEXPORT wxStatusBarPalm : public wxStatusBarBase
+class WXDLLIMPEXP_CORE wxStatusBarPalm : public wxStatusBarBase
 {
 public:
     // ctors and such
     wxStatusBarPalm();
     wxStatusBarPalm(wxWindow *parent,
                     wxWindowID id = wxID_ANY,
-                    long style = wxST_SIZEGRIP,
+                    long style = wxSTB_DEFAULT_STYLE,
                     const wxString& name = wxEmptyString)
     {
         (void)Create(parent, id, style, name);
@@ -33,7 +29,7 @@ public:
 
     bool Create(wxWindow *parent,
                 wxWindowID id = wxID_ANY,
-                long style = wxST_SIZEGRIP,
+                long style = wxSTB_DEFAULT_STYLE,
                 const wxString& name = wxEmptyString);
 
     virtual ~wxStatusBarPalm();
@@ -67,7 +63,7 @@ public:
 protected:
     void CopyFieldsWidth(const int widths[]);
     void SetFieldsWidth();
-
+/*
     // store the text in the status bar
     wxListString **StatusTextBuffer;
     void SetStatusBufferText(const wxString& text, int number);
@@ -76,6 +72,9 @@ protected:
     wxListString *GetStatusBufferStack(int i) const;
     void DeleteStatusBuffer();
 
+    TODO: reuse wxStatusBarBase's stack routines instead of reimplementing them here
+*/
+
     // override base class virtual
     void DoMoveWindow(int x, int y, int width, int height);