git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39657
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// if the pane's name identifier is blank, create a random string
if (pinfo.name.empty())
{
// if the pane's name identifier is blank, create a random string
if (pinfo.name.empty())
{
- pinfo.name.Printf(wxT("%08x%08x%08x%08x"),
+ pinfo.name.Printf(wxT("%08lx%08x%08x%08lx"),
((unsigned long)pinfo.window) & 0xffffffff,
(unsigned int)time(NULL),
((unsigned long)pinfo.window) & 0xffffffff,
(unsigned int)time(NULL),
- (unsigned int)clock(), m_panes.GetCount());
+ (unsigned int)clock(),
+ (unsigned long)m_panes.GetCount());
}
// set initial proportion (if not already set)
}
// set initial proportion (if not already set)