]> git.saurik.com Git - wxWidgets.git/blobdiff - src/aui/framemanager.cpp
SF bug 1895101
[wxWidgets.git] / src / aui / framemanager.cpp
index b4ee254fd6551c10c6ebcc59eef1150be0e63957..9ceabbf8dcbfaa72a1e31ce56bfb108ea38d814e 100644 (file)
@@ -1014,7 +1014,7 @@ bool wxAuiManager::AddPane(wxWindow* window, const wxAuiPaneInfo& pane_info)
     if (pinfo.name.empty() || already_exists)
     {
         pinfo.name.Printf(wxT("%08lx%08x%08x%08lx"),
-             ((unsigned long)pinfo.window) & 0xffffffff,
+             wxPtrToUInt(pinfo.window) & 0xffffffff,
              (unsigned int)time(NULL),
 #ifdef __WXWINCE__
              (unsigned int)GetTickCount(),