Fix macOS UI issue in publish dialog. Remove item_size helper in TabCtrl and its relevant setter

This commit is contained in:
Lam Wei Lun
2026-09-14 14:19:25 +08:00
parent fd63164268
commit ffb4f192c1
4 changed files with 13 additions and 27 deletions
-5
View File
@@ -14,7 +14,6 @@ class TabCtrl : public StaticBox
int sel = -1;
wxFont bold;
int item_space = 2; // space around each button, both sides (SetItemSpace)
public:
TabCtrl(wxWindow* parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0);
@@ -64,10 +63,6 @@ public:
int GetNextVisible(int item) const;
bool IsVisible(unsigned int item) const;
// Extra space around each tab button (in px on both sides). Defaults to the control-wide
// standard; call before appending items so every button picks it up.
void SetItemSpace(int space);
int GetFullSize() const;
private: