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:
Włodzimierz Skiba
2006-10-09 13:23:33 +00:00
parent e38b61ed7b
commit 11e70ae665
2 changed files with 4 additions and 2 deletions

View File

@@ -799,7 +799,9 @@ bool wxNotebook::InsertPage(size_t nPage,
// so the first panel gets the correct themed background
if ( m_pages.empty() )
{
#if wxUSE_UXTHEME
UpdateBgBrush();
#endif // wxUSE_UXTHEME
}
// succeeded: save the pointer to the page

View File

@@ -4,7 +4,7 @@
// Author: Marco Cavallini (MCK) - wx@koansoftware.com
// Modified by:
// Created: 31-08-2003
// RCS-ID:
// RCS-ID: $Id$
// Copyright: (c) Marco Cavallini
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
@@ -510,7 +510,7 @@ size_t wcsftime(wchar_t *s,
wxString formatStr(format);
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);