#14816: GetSizeFromTextSize() part 2 (wxMSW)

13 views
Skip to first unread message

wxTrac

unread,
Nov 10, 2012, 9:51:27 PM11/10/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/14816>

#14816: GetSizeFromTextSize() part 2 (wxMSW)
---------------------------------------------+------------------------------
Reporter: mmarsan | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: GUI-all | Version: 2.9-svn
Keywords: GetSizeFromTextSize GetBestSize | Blockedby:
Patch: 0 | Blocking:
---------------------------------------------+------------------------------
I attach the second part:
wxTextCtrl, wxChoice, and wxComboBox for wxMSW.

It also fix wxGTK wxTextCtrl to treat wxBORDER_NONE flag.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/14816>

wxTrac

unread,
Nov 14, 2012, 8:47:15 AM11/14/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/14816#comment:1>

#14816: GetSizeFromTextSize() part 2 (wxMSW)
---------------------------------------------+------------------------------
Reporter: mmarsan | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: GUI-all | Version: 2.9-svn
Keywords: GetSizeFromTextSize GetBestSize | Blockedby:
Patch: 0 | Blocking:
---------------------------------------------+------------------------------

Comment(by VZ):

(In [72952]) Handle wxBORDER_NONE in wxGTK
wxTextCtrl::DoGetSizeFromTextSize().

Don't add margins for the controls without borders, they are not used in
this
case.

See #14816.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/14816#comment:1>

wxTrac

unread,
Nov 14, 2012, 8:48:02 AM11/14/12
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/14816#comment:2>

#14816: GetSizeFromTextSize() part 2 (wxMSW)
--------------------------+-------------------------------------------------
Reporter: mmarsan | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: GUI-all | Version: 2.9-svn
Resolution: fixed | Keywords: GetSizeFromTextSize GetBestSize
Blockedby: | Patch: 0
Blocking: |
--------------------------+-------------------------------------------------
Changes (by VZ):

* status: new => closed
* resolution: => fixed


Comment:

(In [72954]) Implement DoGetSizeFromTextSize() for wxMSW
wx{Choice,Combobox,TextCtrl}.

Refactor and improve the existing DoGetBestSize() implementations to use
DoGetBestSize().

Closes #14816.


--
Ticket URL: <http://trac.wxwidgets.org/ticket/14816#comment:2>
Reply all
Reply to author
Forward
0 new messages