WinCE build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -799,7 +799,9 @@ bool wxNotebook::InsertPage(size_t nPage,
|
|||||||
// so the first panel gets the correct themed background
|
// so the first panel gets the correct themed background
|
||||||
if ( m_pages.empty() )
|
if ( m_pages.empty() )
|
||||||
{
|
{
|
||||||
|
#if wxUSE_UXTHEME
|
||||||
UpdateBgBrush();
|
UpdateBgBrush();
|
||||||
|
#endif // wxUSE_UXTHEME
|
||||||
}
|
}
|
||||||
|
|
||||||
// succeeded: save the pointer to the page
|
// succeeded: save the pointer to the page
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
// Author: Marco Cavallini (MCK) - wx@koansoftware.com
|
// Author: Marco Cavallini (MCK) - wx@koansoftware.com
|
||||||
// Modified by:
|
// Modified by:
|
||||||
// Created: 31-08-2003
|
// Created: 31-08-2003
|
||||||
// RCS-ID:
|
// RCS-ID: $Id$
|
||||||
// Copyright: (c) Marco Cavallini
|
// Copyright: (c) Marco Cavallini
|
||||||
// Licence: wxWindows licence
|
// Licence: wxWindows licence
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
@@ -510,7 +510,7 @@ size_t wcsftime(wchar_t *s,
|
|||||||
wxString formatStr(format);
|
wxString formatStr(format);
|
||||||
wxCharBuffer bufFormatStr(formatStr.mb_str());
|
wxCharBuffer bufFormatStr(formatStr.mb_str());
|
||||||
|
|
||||||
size_t sz = strftime(sBuf, maxsize/sizeof(wchar_t), bufFormatStr, t);
|
size_t sz = strftime(sBuf.data(), maxsize/sizeof(wchar_t), bufFormatStr, t);
|
||||||
|
|
||||||
wxMB2WC(s, sBuf, maxsize);
|
wxMB2WC(s, sBuf, maxsize);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user