| 1 | ---------------------------- |
| 2 | wxWindows 2.5/2.6 Change Log |
| 3 | ---------------------------- |
| 4 | |
| 5 | INCOMPATIBLE CHANGES SINCE 2.4.x |
| 6 | ================================ |
| 7 | |
| 8 | - wxFileType::GetIcon() returns wxIconLocation, not wxIcon |
| 9 | |
| 10 | |
| 11 | DEPRECATED METHOD SINCE 2.4.x |
| 12 | ============================= |
| 13 | |
| 14 | Deprecated methods may still be used but will disappear in future wxWindows |
| 15 | versions, please update your code to not use them. |
| 16 | |
| 17 | - wxDocManager::GetNoHistoryFiles() renamed to GetHistoryFilesCount() |
| 18 | - wxSizer::Remove(wxWindow *), use Detach() instead [it is more clear] |
| 19 | - wxSizer::Set/GetOption(): use Set/GetProportion() instead |
| 20 | - wxKeyEvent::KeyCode(): use GetKeyCode instead |
| 21 | - wxList::Number, First, Last, Nth: use GetCount, GetFirst/Last, Item instead |
| 22 | - wxNode::Next, Previous, Data: use GetNext, GetPrevious, GetData instead |
| 23 | - wxListBase::operator wxList&(): use typesafe lists instead |
| 24 | - wxTheFontMapper: use wxFontMapper::Get() instead |
| 25 | - wxStringHashTable: use wxHashMap instead |
| 26 | - wxHashTableLong: use wxHashMap instead |
| 27 | - wxArrayString::GetStringArray: no replacement |
| 28 | - wxArrayString::Remove(index, count): use RemoveAt instead |
| 29 | |
| 30 | |
| 31 | OTHER CHANGES |
| 32 | ============= |
| 33 | |
| 34 | 2.5.0 |
| 35 | ----- |
| 36 | |
| 37 | All: |
| 38 | |
| 39 | - added wxDateSpan::operator==() and !=() (Lukasz Michalski) |
| 40 | - use true/false throughout the library instead of TRUE/FALSE |
| 41 | - wxStopWatch::Start() resumes the stop watch if paused, as per the docs |
| 42 | - added wxDirTraverser::OnOpenError() to customize the error handling |
| 43 | - added wxArray::SetCount() |
| 44 | - wxFile, wxFFile, wxTextFile and wxTempFile now all use UTF-8 encoding |
| 45 | by default in Unicode mode |
| 46 | - bug in wxDateTime with timezones on systems with tm_gmtoff in struct tm fixed |
| 47 | - added wx/math.h (John Labenski) |
| 48 | - added Catalan translations (Pau Bosch i Crespo) |
| 49 | - added Ukrainian translations (Eugene Manko) |
| 50 | - fixed bug with deleting entries at root level in wxFileConfig |
| 51 | - chkconf.h now includes platform-specific versions (for MSW |
| 52 | and Mac) which contain some tests that were in setup.h |
| 53 | - Added event sink argument to wxEvtHandler::Connect() |
| 54 | |
| 55 | wxBase: |
| 56 | |
| 57 | - added Watcom makefiles |
| 58 |