No changes, just removed hard tabs and trailing white space.
This commit is huge but there are no non-white-space changes in it. Some files containing third-party sources (src/msw/wince/time.cpp, src/x11/pango*.cpp) were left unchanged. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -76,7 +76,7 @@ void wxMenu::Init()
|
||||
m_startRadioGroup = -1;
|
||||
m_allowRearrange = true;
|
||||
m_noEventsMode = false;
|
||||
|
||||
|
||||
m_peer = wxMenuImpl::Create( this, wxStripMenuCodes(m_title) );
|
||||
|
||||
|
||||
@@ -144,7 +144,7 @@ bool wxMenu::DoInsertOrAppend(wxMenuItem *pItem, size_t pos)
|
||||
pSubMenu->DoRearrange();
|
||||
}
|
||||
else
|
||||
{
|
||||
{
|
||||
if ( pItem->GetId() == idMenuTitle )
|
||||
pItem->GetMenu()->Enable( idMenuTitle, false );
|
||||
}
|
||||
@@ -293,7 +293,7 @@ void wxMenu::DoRearrange()
|
||||
{
|
||||
if ( !AllowRearrange() )
|
||||
return;
|
||||
|
||||
|
||||
wxMenuItem* previousItem = NULL ;
|
||||
size_t pos ;
|
||||
wxMenuItemList::compatibility_iterator node;
|
||||
@@ -564,7 +564,7 @@ void wxMenuBar::MacInstallMenuBar()
|
||||
{
|
||||
if ( s_macInstalledMenuBar == this )
|
||||
return ;
|
||||
|
||||
|
||||
m_rootMenu->GetPeer()->MakeRoot();
|
||||
// DisableMenuCommand( NULL , kHICommandPreferences ) ;
|
||||
#if 0
|
||||
@@ -765,7 +765,7 @@ void wxMenuBar::MacInstallMenuBar()
|
||||
void wxMenuBar::EnableTop(size_t pos, bool enable)
|
||||
{
|
||||
wxCHECK_RET( IsAttached(), wxT("doesn't work with unattached menubars") );
|
||||
|
||||
|
||||
m_rootMenu->FindItemByPosition( pos )->Enable(enable);
|
||||
|
||||
Refresh();
|
||||
@@ -847,7 +847,7 @@ bool wxMenuBar::Insert(size_t pos, wxMenu *menu, const wxString& title)
|
||||
return false;
|
||||
|
||||
m_titles.Insert(title, pos);
|
||||
|
||||
|
||||
m_rootMenu->Insert( pos+firstMenuPos, wxMenuItem::New( m_rootMenu, wxID_ANY, title, "", wxITEM_NORMAL, menu ) );
|
||||
|
||||
if (m_invokingWindow)
|
||||
@@ -942,7 +942,7 @@ void wxMenuBar::SetInvokingWindow(wxFrame *frame)
|
||||
{
|
||||
m_invokingWindow = frame;
|
||||
wxMenubarSetInvokingWindow(m_appleMenu, frame);
|
||||
|
||||
|
||||
wxMenu *menu;
|
||||
wxMenuList::compatibility_iterator node = m_menus.GetFirst();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user