X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17fb35240e1f195412272043a6416ec0fc150690..d1f024a8de8872ae314b30e0d1b8c8a1b8518c3d:/src/palmos/radiobox.cpp?ds=sidebyside diff --git a/src/palmos/radiobox.cpp b/src/palmos/radiobox.cpp index a9449d5594..71a7ab9775 100644 --- a/src/palmos/radiobox.cpp +++ b/src/palmos/radiobox.cpp @@ -17,10 +17,6 @@ // headers // --------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "radiobox.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -254,6 +250,8 @@ void wxRadioBox::DoMoveWindow(int x, int y, int width, int height) { wxRect oldRect = GetRect(); + m_pos.x = x; + m_pos.y = y; m_size.x = width; m_size.y = height; @@ -292,7 +290,7 @@ void wxRadioBox::DoMoveWindow(int x, int y, int width, int height) // get the origin of the client area in the client coordinates wxPoint wxRadioBox::GetClientAreaOrigin() const { - return GetParent()->GetClientAreaOrigin() + GetPosition(); + return GetPosition(); } void wxRadioBox::SetString(int item, const wxString& label)