gcc printf format warning fixed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2006-06-09 22:06:19 +00:00
parent 264cb7f5f3
commit 0e9c99232f

View File

@ -574,10 +574,11 @@ bool wxFrameManager::AddPane(wxWindow* window, const wxPaneInfo& pane_info)
// 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 int)clock(), m_panes.GetCount());
(unsigned int)clock(),
(unsigned long)m_panes.GetCount());
}
// set initial proportion (if not already set)