X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1aaf88d2208793f6a05f02c3e23ade668555d31e..8f98c6c007769184f28dfb9dcd97075bd0efeddc:/src/generic/logg.cpp diff --git a/src/generic/logg.cpp b/src/generic/logg.cpp index 727f33a11d..cda1784ab1 100644 --- a/src/generic/logg.cpp +++ b/src/generic/logg.cpp @@ -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