Added and corrected a few more html makefiles,
Corrected wrong buffer size in menu code, Turned wxDirDlgg from functional to cool, Found a few esoteric bugs in wxListCtrl and wxTreeCtrl on the way git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1159,6 +1159,11 @@ void wxListMainWindow::EditLabel( long item )
|
||||
if (!le.IsAllowed())
|
||||
return;
|
||||
|
||||
// We have to call this here because the label in
|
||||
// question might just have been added and no screen
|
||||
// update taken place.
|
||||
if (m_dirty) wxYield();
|
||||
|
||||
wxString s;
|
||||
m_currentEdit->GetText( 0, s );
|
||||
int x = 0;
|
||||
@@ -2189,6 +2194,11 @@ void wxListMainWindow::DeleteEverything( void )
|
||||
|
||||
void wxListMainWindow::EnsureVisible( long index )
|
||||
{
|
||||
// We have to call this here because the label in
|
||||
// question might just have been added and no screen
|
||||
// update taken place.
|
||||
if (m_dirty) wxYield();
|
||||
|
||||
wxListLineData *oldCurrent = m_current;
|
||||
m_current = (wxListLineData *) NULL;
|
||||
int i = index;
|
||||
|
Reference in New Issue
Block a user