]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/logg.cpp
compile warnings, M_BITMAPDATA privatized
[wxWidgets.git] / src / generic / logg.cpp
index 727f33a11d0909ad28e3e98efec6ac8b9d560d77..cda1784ab18d57d1340cd56c5ec4e09e1175c065 100644 (file)
@@ -644,7 +644,7 @@ void wxLogWindow::DoLogString(const wxChar *szString, time_t WXUNUSED(t))
 
     // remove selection (WriteText is in fact ReplaceSelection)
 #ifdef __WXMSW__
-    long nLen = pText->GetLastPosition();
+    wxTextPos nLen = pText->GetLastPosition();
     pText->SetSelection(nLen, nLen);
 #endif // Windows