projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99f677a
)
Must call DoMoveWindow in Create() or buttons may not be
author
Julian Smart
<julian@anthemion.co.uk>
Sun, 17 Aug 2003 16:31:18 +0000
(16:31 +0000)
committer
Julian Smart
<julian@anthemion.co.uk>
Sun, 17 Aug 2003 16:31:18 +0000
(16:31 +0000)
moved
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22976
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/univ/radiobox.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/univ/radiobox.cpp
b/src/univ/radiobox.cpp
index fcbadbd5669fa64a490228304dc04d928e6fb029..c758abf74bae56eb5703cde99aa240051ed55315 100644
(file)
--- a/
src/univ/radiobox.cpp
+++ b/
src/univ/radiobox.cpp
@@
-153,6
+153,11
@@
bool wxRadioBox::Create(wxWindow *parent,
SetClientSize(DoGetBestClientSize());
}
+ // Need to move the radiobox in order to move the radio buttons
+ wxPoint actualPos = GetPosition();
+ wxSize actualSize = GetSize();
+ DoMoveWindow(actualPos.x, actualPos.y, actualSize.x, actualSize.y);
+
// radiobox should already have selection so select at least one item
SetSelection(0);