Daniel Baumann wrote: > # new poedit needs wxwidget 2.8 This wasn't intentional. Attached (trivial) patch fixes compilation for wx-2.6. Please consider including 1.3.9 with this patch, there were important bug fixes since 1.3.8_pre1.
The _next_ version will almost certainly require wx-2.8 though (and it's about time...). Thanks, Vaclav -- PGP key: 0x465264C9, available from http://pgp.mit.edu/
diff -ru poedit-1.3.9.orig/src/edframe.cpp poedit-1.3.9/src/edframe.cpp --- poedit-1.3.9.orig/src/edframe.cpp 2007-12-11 13:19:29.000000000 +0100 +++ poedit-1.3.9/src/edframe.cpp 2007-12-20 19:42:55.000000000 +0100 @@ -44,7 +44,6 @@ #include <wx/splitter.h> #include <wx/fontutil.h> #include <wx/textfile.h> -#include <wx/wupdlock.h> #if !wxCHECK_VERSION(2,8,0) #define wxFD_OPEN wxOPEN @@ -1201,7 +1200,7 @@ // This ensures that the list control won't be redrawn during Update() // call when a dialog box is hidden; another alternative would be to call // m_list->CatalogChanged(NULL) here - wxWindowUpdateLocker locker(m_list); + m_list->Freeze(); bool succ; if (pot_file.empty()) @@ -1219,6 +1218,8 @@ wxLogError( _("Updating the catalog failed. Click on 'More>>' for details.")); } + + m_list->Thaw(); } void PoeditFrame::OnUpdate(wxCommandEvent& event)
signature.asc
Description: This is a digitally signed message part.