Make wxWebViewChromium::OnSize() private

Also make a couple of cosmetic/style fixes.

No real changes, just don't leave the event handler public when it
doesn't have to be.
This commit is contained in:
Vadim Zeitlin 2023-11-28 19:54:43 +01:00
parent 966e81bf54
commit fada5fa044
2 changed files with 3 additions and 3 deletions

View file

@ -43,8 +43,6 @@ public:
~wxWebViewChromium();
void OnSize(wxSizeEvent &event);
void SetPageSource(const wxString& pageSource);
void SetPageText(const wxString& pageText);
@ -136,6 +134,8 @@ private:
// Common part of all ctors.
void Init();
void OnSize(wxSizeEvent& event);
// Actually create the browser: this can only be done once the window is
// created in wxGTK.
bool DoCreateBrowser(const wxString& url);