virtual wxBorder GetDefaultBorder() const;
+ virtual wxSize GetSizeAvailableForScrollTarget(const wxSize& size);
+
private:
void CreateOrDestroyHeaderWindowAsNeeded();
void OnScroll( wxScrollWinEvent& event );
void OnSize( wxSizeEvent &event );
- virtual wxSize GetSizeAvailableForScrollTarget(const wxSize& size);
// we need to return a special WM_GETDLGCODE value to process just the
// arrows but let the other navigation characters through
virtual void UpdateLine( unsigned int n, wxListWidgetColumn* col = NULL );
virtual void UpdateLineToEnd( unsigned int n) ;
+ // pointing back
+
+ wxMacDataBrowserColumn* GetColumnFromProperty( DataBrowserPropertyID );
+
+protected:
virtual void ItemNotification(
DataBrowserItemID itemID,
DataBrowserItemNotification message,
DataBrowserItemDataRef itemData);
- // pointing back
-
- wxMacDataBrowserColumn* GetColumnFromProperty( DataBrowserPropertyID );
private:
wxArrayMacDataBrowserColumns m_columns;
int m_nextColumnId ;
void SetHCURSOR(WXHCURSOR cursor);
WXHCURSOR GetHCURSOR() const;
-private:
- void InitFromStock(wxStockCursor);
-
+protected:
virtual wxGDIRefData *CreateGDIRefData() const;
virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;
+private:
+ void InitFromStock(wxStockCursor);
+
void CreateFromImage(const wxImage & image) ;
DECLARE_DYNAMIC_CLASS(wxCursor)
void PositionBars();
+ // osx specific event handling common for all osx-ports
+ virtual void HandleResized( double timestampsec );
+
protected:
// common part of all ctors
void Init();
virtual void AttachMenuBar(wxMenuBar *menubar);
#endif
- // osx specific event handling common for all osx-ports
- virtual void HandleResized( double timestampsec );
-
-protected:
// the last focused child: we restore focus to it on activation
wxWindow *m_winLastFocused;
virtual bool MacIsChildOfClientArea( const wxWindow* child ) const ;
-private:
DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS(wxFrame)
};
class WXDLLIMPEXP_CORE wxStatusBarMac : public wxStatusBarGeneric
{
- DECLARE_DYNAMIC_CLASS(wxStatusBarMac)
-
+public:
wxStatusBarMac();
wxStatusBarMac(wxWindow *parent, wxWindowID id = wxID_ANY,
long style = wxSTB_DEFAULT_STYLE,
long style = wxSTB_DEFAULT_STYLE,
const wxString& name = wxStatusBarNameStr);
- virtual void DrawFieldText(wxDC& dc, const wxRect& rc, int i, int textHeight);
- virtual void DrawField(wxDC& dc, int i, int textHeight);
-
// Implementation
virtual void MacHiliteChanged();
void OnPaint(wxPaintEvent& event);
protected:
+ virtual void DrawFieldText(wxDC& dc, const wxRect& rc, int i, int textHeight);
+ virtual void DrawField(wxDC& dc, int i, int textHeight);
virtual void DoUpdateStatusText(int number = 0);
+ DECLARE_DYNAMIC_CLASS(wxStatusBarMac)
DECLARE_EVENT_TABLE()
};
wxRibbonPage* GetPage(int n);
bool DismissExpandedPanel();
- virtual wxSize DoGetBestSize() const;
virtual bool HasMultiplePages() const { return true; }
void SetWindowStyleFlag(long style);
protected:
friend class wxRibbonPage;
+ virtual wxSize DoGetBestSize() const;
wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
wxRibbonPageTabInfo* HitTestTabs(wxPoint position, int* index = NULL);
virtual bool IsSizingContinuous() const;
virtual wxSize GetMinSize() const;
- virtual wxSize DoGetBestSize() const;
protected:
friend class wxRibbonButtonBarEvent;
+ virtual wxSize DoGetBestSize() const;
wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
void OnEraseBackground(wxEraseEvent& evt);
wxBitmap& GetIcon() {return m_icon;}
virtual wxSize GetMinSize() const;
- virtual wxSize DoGetBestSize() const;
void SetSizeWithScrollButtonAdjustment(int x, int y, int width, int height);
void AdjustRectToIncludeScrollButtons(wxRect* rect) const;
virtual void RemoveChild(wxWindowBase *child);
protected:
+ virtual wxSize DoGetBestSize() const;
virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
void DoSetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO);
virtual bool Realize();
virtual bool Layout();
virtual wxSize GetMinSize() const;
- virtual wxSize DoGetBestSize() const;
virtual bool IsSizingContinuous() const;
wxRibbonPanel* GetExpandedPanel();
protected:
+ virtual wxSize DoGetBestSize() const;
wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
wxSize GetMinNotMinimisedSize() const;
virtual void SetRows(int nMin, int nMax = -1);
virtual bool IsSizingContinuous() const;
- virtual wxSize DoGetBestSize() const;
protected:
friend class wxRibbonToolBarEvent;
+ virtual wxSize DoGetBestSize() const;
wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
void OnEraseBackground(wxEraseEvent& evt);
virtual bool DoLoadFile(const wxString& file, int fileType);
virtual bool DoSaveFile(const wxString& file, int fileType);
-private:
// implement the wxTextEntry pure virtual method
virtual wxWindow *GetEditableWindow() { return this; }
// used only by Windows
virtual bool CanApplyThemeBorder() const { return true; }
+ // returns the main window of composite control; this is the window
+ // that FindFocus returns if the focus is in one of composite control's
+ // windows
+ virtual wxWindow *GetMainWindowOfCompositeControl()
+ { return (wxWindow*)this; }
+
protected:
// helper for the derived class Create() methods: the first overload, with
// validator parameter, should be used for child windows while the second
// to true
void SendDestroyEvent();
- // returns the main window of composite control; this is the window
- // that FindFocus returns if the focus is in one of composite control's
- // windows
- virtual wxWindow *GetMainWindowOfCompositeControl()
- { return (wxWindow*)this; }
-
// this method should be implemented to use operating system specific code
// to really enable/disable the widget, it will only be called when we
// really need to enable/disable window and so no additional checks on the