Commit Graph

41397 Commits

Author SHA1 Message Date
Vadim Zeitlin
b7379c0e71 Another compilation fix to wxMimeTypesManager, this time in Unicode build.
Fix another problem introduced by backporting the fix from the trunk in
r63936.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-14 00:10:21 +00:00
Vadim Zeitlin
a245f658c7 Compilation fix after last commit.
wxApp::GetTraitsIfExists() doesn't exist in 2.8, mea culpa for backporting the
trunk fix without testing.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-12 11:11:26 +00:00
Vadim Zeitlin
879c60f2bf Fix crash in wxMimeTypesManager [backport of r63935 from trunk].
Don't crash if wxMimeTypesManager is used before wxApp creation.

See #11927.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-04-10 18:23:07 +00:00
Chris Elliott
495908a179 2.8.11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-29 11:39:42 +00:00
Vadim Zeitlin
88fe863ff4 Properly handle DC origin and scale in wxDoFloodFill() [backport of r57824].
Closes #4557.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-28 22:34:12 +00:00
Vadim Zeitlin
6547f163f4 Use COLORONCOLOR stretching mode in DrawBitmap() too [backport of r60034 from trunk].
Closes #3400.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-28 22:34:08 +00:00
Vadim Zeitlin
f3211393f6 Fix wxDateTime::GetWeekOfMonth() [backport of r62916 from trunk].
Closes #11561.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-28 22:34:03 +00:00
Julian Smart
6e63381c91 Fixed ordering bug that caused an assertion because symbol list control wasn't set to unicode yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-23 08:59:44 +00:00
Vadim Zeitlin
0f085d7e62 Compilation fix for wxOS2 with Watcom.
Assign BYTE* to pData variable in wxMenu::DoInsertOrAppend(), not char*.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-18 15:14:42 +00:00
Vadim Zeitlin
be1ec70d1d Fix another incorrect file name conversion in wxGTK.
GTK file paths are in UTF-8 and not ASCII.

Really closes #11743.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-02 00:20:21 +00:00
Vadim Zeitlin
2afbd70030 Always use UTF-8 for GTK+ strings [backport of r63549 from trunk].
Strings returned and accepted by GTK+ functions always use UTF-8 independently
of the current locale and of the file name encoding we use. So use UTF-8
instead of wxConvFileName everywhere where we deal with GTK+ directly.

Closes #11743.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-03-02 00:15:45 +00:00
Julian Smart
656dd3e0c4 wxTE_PROCESS_ENTER isn't just for Windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-24 11:32:58 +00:00
Chris Elliott
f2bbc0a0e3 fix trac 11733 (part2, missing xml.h in base tarball)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-18 09:34:43 +00:00
Robin Dunn
b99444c736 Apply new patch fixing problem of IsRunning always returning True. See #11699
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-15 17:30:58 +00:00
Václav Slavík
fc25164624 Make it possible to subclass wxMenuBar in XRC (patch #11679).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-11 12:47:17 +00:00
Václav Slavík
fe84c6f5e1 Fixed possible buffer overflow in wxXmlResource::GetXRCID() (patch #11715).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-11 12:36:43 +00:00
Robin Dunn
d479459b39 Allow more than one timer with the same ID. See #11699.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-08 19:38:46 +00:00
Vadim Zeitlin
b42afac3a0 Remove unnecessary <vector> inclusion.
This header doesn't seem to be used anywhere and we try to avoid any STL
dependencies in 2.8 branch.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-05 19:05:12 +00:00
Vadim Zeitlin
baf84d8710 Don't include wx/rawbmp.h unnecessary from src/generic/graphicc.cpp.
This is not only unneeded but also breaks wxX11 (and probably other ports)
compilation because raw bitmap access is not available there.

Closes #11700.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-05 19:03:20 +00:00
Vadim Zeitlin
cc1d7dd68d Rebake Makefile.in with correct shared libraries version.
Modifying version.bkl in r63297 wasn't enough, Makefile had to be rebaked as
well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-05 01:17:17 +00:00
Robin Dunn
e9d564b905 subrelease number should be reset to zero when incrementing the release number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-05 00:27:19 +00:00
Robin Dunn
4d7c9f2205 Set the ID and event object for wxSetCursorEvents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-05 00:26:44 +00:00
Robin Dunn
63b7efeaa7 Backport r62977 and others from trunk to allow timers with ID of zero.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-05 00:26:01 +00:00
Julian Smart
37c68ffe9f Don't select all if there is nothing to select.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-03 11:42:58 +00:00
Julian Smart
422d720acd Don't delete previous character when pressing Del at end of buffer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-03 09:51:42 +00:00
Julian Smart
d902c6dd24 Fixes for incorrect selection, extra newline insertion when undoing deletion of selection,
insufficient refresh for operations on last line,
HasCharacter/ParagraphAttributes bug.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-02 22:19:52 +00:00
Julian Smart
e4db8a879f Simplify SetSelectionRange and make consistent with SetSelection.
Fix a bug that returns true for character and paragraph style tests if no characters or paragraphs were found.
Fix SetSelection to position caret at end.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-02-01 12:07:28 +00:00
Vadim Zeitlin
89d0b1ab06 Update bakefile.m4 to bakefile 0.2.8 which was used for makefiles.
When a new bakefile version is used, build/aclocal/bakefile.m4 must be updated
and configure must be regenerated to take into account the changes in
autoconf_inc.m4, otherwise incorrect makefiles will be produced (for example,
symbolic links for shared libraries were not created in Unix build this time).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-31 18:31:21 +00:00
Stefan Csomor
da71899374 fix for sleep mode on displays, fixes #11557
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-31 15:19:50 +00:00
Michael Wetherell
d3daf59f2a Fix for file length fixup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-28 21:46:09 +00:00
Michael Wetherell
0afb0efe19 Allow large file tests to run by default on more platforms.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-28 21:38:27 +00:00
Michael Wetherell
1132633751 Backport stdio large file support for VC++ and mingw.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-28 21:36:09 +00:00
Chris Elliott
7749dce6bb fix version as per email
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-28 12:30:11 +00:00
Chris Elliott
9e97f8c397 bakefile 0.2.8 and wxw2.8.11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-28 10:14:20 +00:00
Chris Elliott
2d3b74a042 version to 2.8.11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-28 09:27:47 +00:00
Julian Smart
a4374095fc Added symbol for wxEVT_WIZARD_PAGE_SHOWN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-25 19:19:19 +00:00
Julian Smart
98e5829d41 Added EVT_WIZARD_PAGE_SHOWN event for wxWizard, to give apps
a chance to initiate processing after a page is presented.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-25 18:47:47 +00:00
Vadim Zeitlin
24d7db2738 Output wxT() and not _T() in code generated by wxrc.
Also use wxT() in wxrc.cpp itself, just to be sure that there are no other
occurrences of _T() left.

Closes #11649.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-23 15:25:18 +00:00
Vadim Zeitlin
705d0c55ac Fix harmless g++ 4.3 warning about "suggested braces".
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-22 22:01:58 +00:00
Vadim Zeitlin
f5ddb02e65 Don't place NULL pointers in the GDK window array in GTKGetWindow().
This avoids an assert in GTKUpdateCursor() later on.

Backport of r60458 from trunk.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-22 22:01:24 +00:00
Jaakko Salli
ab1b239de2 Added entry on generic wxDatePickerCtrl keyboard navigation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-17 12:10:50 +00:00
Paul Cornett
ea4b3d8058 update docs for wxMAXIMIZE on GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-16 04:14:18 +00:00
Paul Cornett
107036dbcf honor wxMAXIMIZE frame style, fixes #11631
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-15 17:09:29 +00:00
Jaakko Salli
5b08af5c2f When checking whether the parent control has wxTAB_TRAVERSAL, take into account that the wxComboCtrl can be part of a composite control, such as generic wxDatePickerCtrl (fixes #11630).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-15 16:06:46 +00:00
Vadim Zeitlin
2044a5f9cc Add wx/osx/textentry.h to the list of OS X headers.
Fix problem with "make install" which didn't install this header.

Backport of r63137 from HEAD.

Closes #11624.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-12 15:51:48 +00:00
Robin Dunn
cea6e8c61a Use GraphicsContext (if available) for drawing in SurfaceImpl::AlphaRectangle. Fixes #10542.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-10 00:48:52 +00:00
Paul Cornett
3ce31329a9 fix broken #elif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-08 04:33:21 +00:00
Mattia Barbon
772133e232 Document wxPerl interface differences for wxRichTextCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-02 11:31:29 +00:00
Vadim Zeitlin
d1db5f63e7 Change the year in copyright messages to 2010.
Backport of r63031 from trunk.

See #11584.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-31 13:37:24 +00:00
Vadim Zeitlin
fb564bb8ea Use memmove() instead of memcpy() in wxString::AssignCopy().
This allows the code like "s = s.c_str()" to work correctly, although it
doesn't fix all self-assignment-related bugs.

See #11245.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@63008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-12-28 20:01:39 +00:00