Improve our estimate of GtkEntry margins

For GTK2, get the "inner border" the same way GTK does it. And for GTK3,
provide an actual implementation. Also, don't return a wxPoint for a size.
See #18567
This commit is contained in:
Paul Cornett
2019-11-11 08:29:28 -08:00
parent 46a94c2b48
commit df9f4af357
2 changed files with 30 additions and 23 deletions

View File

@@ -84,7 +84,7 @@ protected:
wxSize GTKGetPreferredSize(GtkWidget* widget) const;
// Inner margins in a GtkEntry
wxPoint GTKGetEntryMargins(GtkEntry* entry) const;
wxSize GTKGetEntryMargins(GtkEntry* entry) const;
private:
wxDECLARE_DYNAMIC_CLASS(wxControl);