removed wxABI_TESTS, they're irrelvant in 2.9
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -108,10 +108,10 @@ class WXDLLEXPORT wxListCtrl: public wxControl
|
||||
|
||||
// Sets the item text
|
||||
void SetItemText(long item, const wxString& str) ;
|
||||
|
||||
|
||||
void SetItemTextColour(long item, const wxColour& colour) ;
|
||||
wxColour GetItemTextColour(long item) const;
|
||||
|
||||
|
||||
void SetItemBackgroundColour(long item, const wxColour& colour) ;
|
||||
wxColour GetItemBackgroundColour(long item) const;
|
||||
|
||||
@@ -144,7 +144,7 @@ class WXDLLEXPORT wxListCtrl: public wxControl
|
||||
|
||||
// Gets the number of selected items in the list control
|
||||
int GetSelectedItemCount() const;
|
||||
|
||||
|
||||
wxRect GetViewRect() const;
|
||||
|
||||
// Gets the text colour of the listview
|
||||
@@ -316,13 +316,13 @@ class WXDLLEXPORT wxListCtrl: public wxControl
|
||||
wxListCtrlCompare GetCompareFunc() { return m_compareFunc; };
|
||||
long GetCompareFuncData() { return m_compareFuncData; };
|
||||
|
||||
|
||||
// public overrides needed for pimpl approach
|
||||
|
||||
// public overrides needed for pimpl approach
|
||||
virtual bool SetFont(const wxFont& font);
|
||||
virtual bool SetForegroundColour(const wxColour& colour);
|
||||
virtual bool SetBackgroundColour(const wxColour& colour);
|
||||
virtual wxColour GetBackgroundColour();
|
||||
|
||||
|
||||
// functions for editing/timer
|
||||
void OnRenameTimer();
|
||||
bool OnRenameAccept(long itemEdit, const wxString& value);
|
||||
@@ -331,33 +331,31 @@ class WXDLLEXPORT wxListCtrl: public wxControl
|
||||
void ChangeCurrent(long current);
|
||||
void ResetCurrent() { ChangeCurrent((long)-1); }
|
||||
bool HasCurrent() const { return m_current != (long)-1; }
|
||||
|
||||
|
||||
void OnLeftDown(wxMouseEvent& event);
|
||||
void OnDblClick(wxMouseEvent& event);
|
||||
|
||||
|
||||
void FinishEditing(wxTextCtrl *text)
|
||||
{
|
||||
delete text;
|
||||
m_textctrlWrapper = NULL;
|
||||
SetFocus();
|
||||
}
|
||||
|
||||
|
||||
virtual int GetScrollPos(int orient) const;
|
||||
|
||||
#if wxABI_VERSION >= 20801
|
||||
|
||||
void OnRightDown(wxMouseEvent& event);
|
||||
void OnMiddleDown(wxMouseEvent& event);
|
||||
void OnChar(wxKeyEvent& event);
|
||||
virtual void SetFocus();
|
||||
void FireMouseEvent(wxEventType eventType, wxPoint position);
|
||||
#endif
|
||||
|
||||
virtual void SetDropTarget( wxDropTarget *dropTarget );
|
||||
virtual wxDropTarget* GetDropTarget() const;
|
||||
|
||||
|
||||
// with CG, we need to get the context from an kEventControlDraw event
|
||||
// unfortunately, the DataBrowser callbacks don't provide the context
|
||||
// and we need it, so we need to set/remove it before and after draw
|
||||
// and we need it, so we need to set/remove it before and after draw
|
||||
// events so we can access it in the callbacks.
|
||||
void MacSetDrawingContext(void* context) { m_cgContext = context; }
|
||||
void* MacGetDrawingContext() { return m_cgContext; }
|
||||
@@ -376,23 +374,23 @@ protected:
|
||||
wxListCtrlRenameTimer *m_renameTimer;
|
||||
// common part of all ctors
|
||||
void Init();
|
||||
|
||||
|
||||
wxGenericListCtrl* m_genericImpl; // allow use of the generic impl.
|
||||
wxMacDataBrowserListCtrlControl* m_dbImpl;
|
||||
void* m_macListCtrlEventHandler;
|
||||
void* m_cgContext;
|
||||
wxListCtrlCompare m_compareFunc;
|
||||
long m_compareFuncData;
|
||||
|
||||
|
||||
wxTextCtrl* m_textCtrl; // The control used for editing a label
|
||||
wxImageList * m_imageListNormal; // The image list for normal icons
|
||||
wxImageList * m_imageListSmall; // The image list for small icons
|
||||
wxImageList * m_imageListState; // The image list state icons (not implemented yet)
|
||||
|
||||
|
||||
wxColumnList m_colsInfo; // for storing info about each column
|
||||
wxColour m_textColor;
|
||||
wxColour m_bgColor;
|
||||
|
||||
wxColour m_bgColor;
|
||||
|
||||
// keep track of whether or not we should delete the image list ourselves.
|
||||
bool m_ownsImageListNormal,
|
||||
m_ownsImageListSmall,
|
||||
@@ -405,8 +403,8 @@ protected:
|
||||
// keep track of inserted/deleted columns
|
||||
|
||||
int m_count; // for virtual lists, store item count
|
||||
|
||||
private:
|
||||
|
||||
private:
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user