Take const pointer in wxAuiTabContainer::GetIdxFromWindow()
Allow passing const pointers to this function, as it doesn't need to modify them at all.
This commit is contained in:
@@ -523,7 +523,7 @@ public:
|
||||
bool TabHitTest(int x, int y, wxWindow** hit) const;
|
||||
bool ButtonHitTest(int x, int y, wxAuiTabContainerButton** hit) const;
|
||||
wxWindow* GetWindowFromIdx(size_t idx) const;
|
||||
int GetIdxFromWindow(wxWindow* page) const;
|
||||
int GetIdxFromWindow(const wxWindow* page) const;
|
||||
size_t GetPageCount() const;
|
||||
wxAuiNotebookPage& GetPage(size_t idx);
|
||||
const wxAuiNotebookPage& GetPage(size_t idx) const;
|
||||
|
||||
Reference in New Issue
Block a user