]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/rawbmp.h
Fix for wxTextCtrl::GetSelection for singel line controls in GTK2 mode
[wxWidgets.git] / include / wx / rawbmp.h
index 8e74712b0c839076c313b9c0e12f3300c8a5920c..8a347433b3dd5360e833da55b6a9a8875393016d 100644 (file)
@@ -586,7 +586,7 @@ struct WXDLLEXPORT wxPixelDataOut<wxBitmap>
         wxPixelDataIn(wxBitmap& bmp, const wxRect& rect)
             : m_bmp(bmp), m_pixels(bmp, *this)
         {
-            InitRect(rect.GetPositions(), rect.GetSize());
+            InitRect(rect.GetPosition(), rect.GetSize());
         }
 
         wxPixelDataIn(wxBitmap& bmp, const wxPoint& pt, const wxSize& sz)