Better safety if publish workflow crashes. Cleanup on Button

This commit is contained in:
Lam Wei Lun
2026-08-25 16:40:18 +08:00
parent 795514900d
commit 51b646efcf
5 changed files with 45 additions and 42 deletions
+3 -2
View File
@@ -64,6 +64,9 @@ public:
int GetNextVisible(int item) const;
bool IsVisible(unsigned int item) const;
// Width of the tab strip that keeps every button visible (used to size the Publish dialog).
int buttons_best_width() const;
private:
virtual void DoSetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO);
@@ -73,8 +76,6 @@ private:
void relayout();
int buttons_best_width() const;
void buttonClicked(wxCommandEvent & event);
void keyDown(wxKeyEvent &event);