Various cleanings.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-02-11 10:42:05 +00:00
parent 7b9472b9c8
commit 8b5d5223d1
17 changed files with 36 additions and 36 deletions

View File

@@ -480,7 +480,7 @@ wxSize wxNotebook::CalcSizeFromPage(const wxSize& sizePage) const
wxSize sizeTotal = sizePage;
// We need to make getting tab size part of the wxWidgets API.
wxSize tabSize(0, 0);
wxSize tabSize;
if (GetPageCount() > 0)
{
RECT rect;
@@ -627,7 +627,7 @@ bool wxNotebook::InsertPage(size_t nPage,
}
// and the text
if ( !strText.IsEmpty() )
if ( !strText.empty() )
{
tcItem.mask |= TCIF_TEXT;
tcItem.pszText = (wxChar *)strText.c_str(); // const_cast