Commit Graph

30479 Commits

Author SHA1 Message Date
Vadim Zeitlin
5f7348ce62 added test for wxScopeGuard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 23:47:30 +00:00
Vadim Zeitlin
1a64b24d3e documented wxScopeGuard; this class is too useful to not use it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 23:46:33 +00:00
Vadim Zeitlin
426a63a3a2 fixed wxON_BLOCK_EXIT macros to work with new definition of wxMAKE_UNIQUE_NAME() (was broken for VC++...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 23:43:19 +00:00
Václav Slavík
ee196d6480 some 3rd party libs are not buildable under eVC, don't link against them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 18:40:20 +00:00
Julian Smart
50779e0648 Applied patch [ 1215991 ] Mac xrc enables unknown class
Implements Reparent for Mac


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 18:03:43 +00:00
Julian Smart
b61261dfed Applied patch [ 1217859 ] Swedish translation for the internat sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 17:57:23 +00:00
Julian Smart
75285e227a Name correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 17:13:54 +00:00
Julian Smart
e3ad57026a Applied patch [ 1212208 ] Fix a bug in wxTreeCtrl with wxTR_MULTIPLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 17:01:19 +00:00
Julian Smart
8af56e0827 Change log update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 16:17:50 +00:00
Julian Smart
1cb853a8ca Applied patch [ 1217285 ] fix for bug 1040539
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 16:07:49 +00:00
Julian Smart
ce0e1aacbc Applied patch [ 1218833 ] [wxMSW] wxListBox optimisation for XP
Also removed temporary fix to hardwire listbox background colour


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 15:36:48 +00:00
Julian Smart
2ff53fd302 Applied patch [ 1218849 ] [wxMSW] Removes magic numbers from wxNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 15:34:41 +00:00
Michael Wetherell
ff8fbb8dbe Revert Cygwin changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 15:31:33 +00:00
Julian Smart
023e504bf1 Applied patch [ 1219269 ] [wxAll] Fix create button in listbox sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 15:18:57 +00:00
Dimitri Schoolwerth
3c832d589d added Thai/CP874 support for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 14:16:50 +00:00
Michael Wetherell
3d94765e6e Let Cygwin be a Windows build for wxMSW and a unix build otherwise
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 13:58:23 +00:00
Vadim Zeitlin
e708485244 fix index of appended items (broken by previous commit)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 00:34:43 +00:00
Vadim Zeitlin
6af800ff6d initial attempt to make it work for eVC (WinCE) as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 00:18:22 +00:00
Vadim Zeitlin
92bdf9f72f don't redeclare struct tm if it's already declared in std headers; declare and define localtime() and company as extern C as they are supposed to be
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 00:09:18 +00:00
Vadim Zeitlin
4fb9d560c4 (harmless) eVC4 warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-15 23:44:18 +00:00
Václav Slavík
e943ebd8b5 previous commit didn't work with bkl-0.1.8, fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-15 22:30:01 +00:00
Václav Slavík
965122c49f basic eVC support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-15 22:17:53 +00:00
Vadim Zeitlin
858cab30be WinCE compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-15 22:04:53 +00:00
Robin Dunn
3a2f2e31bc *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-15 18:34:57 +00:00
Włodzimierz Skiba
81eeaed832 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-15 15:53:44 +00:00
Mart Raudsepp
ccdd4b0b42 wxFrameLayout contains wxPen by value, so the wxPen class declaration from wx/pen.h is required so that the compiler
would know the size of wxFrameLayout class. Was a problem for projects using wxFL and including wx headers
one-by-one instead of using wx.h.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-15 02:08:12 +00:00
Robin Dunn
4d170c95f6 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-15 01:11:54 +00:00
Robin Dunn
4eb5bfc61f Log the exception when writing to file fails.
Set the default encoding from wxGetDefaultPyEncoding again.
Recover from encoding errors when writing the memory file.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 22:59:21 +00:00
Robin Dunn
aae5d34f85 docstring typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 22:54:22 +00:00
Robin Dunn
9c721ebf97 Unregister the object too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 21:03:59 +00:00
Mart Raudsepp
25b3661bd4 Fix "warning: operation on 'y' may be undefined".
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 19:57:01 +00:00
Václav Slavík
c7ca49e407 fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 18:46:49 +00:00
Václav Slavík
861a4cb2b0 removed debugging code checked in by mistake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 18:25:03 +00:00
Włodzimierz Skiba
af5d391cee Due to wxStringBase::CopyBeforeWrite() we need to resend modified 'multiline' text.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 18:19:47 +00:00
Václav Slavík
1ed52f8caa call release builds 'Release'; don't define options if they are already defined by user's bkl code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 18:11:15 +00:00
Włodzimierz Skiba
bd018e7e31 Allow multiline tooltip testing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 17:46:54 +00:00
Włodzimierz Skiba
95130bea15 Due to wxStringBase::CopyBeforeWrite() we need to resend modified 'multiline' text.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 17:43:45 +00:00
Mart Raudsepp
cc35003aa4 Add some missing runtime gtk+ version checks. There is more to spot.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 13:00:42 +00:00
Mart Raudsepp
29a7bba6b7 Use the toplevel widget as the parent in gtk_file_chooser_dialog_new call.
If hierarchy is bad, base classes would assert.
Fixes bug #1206516


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-14 12:41:20 +00:00
Robin Dunn
467f4d3a74 Pass the print data to the wx.PrintDialogData ctor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-13 20:48:52 +00:00
Robin Dunn
535ffb932a Patch from Ole André, call RegisterActiveObject() so the objects can
be retrieved from the PyWin32 modules.




git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-13 20:45:24 +00:00
Włodzimierz Skiba
d0ee33f5c6 '[1219035] cleanup: miscellaneous' and minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-13 12:19:33 +00:00
Stefan Neis
490120b404 Added empty destructor that was removed from header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-12 12:18:30 +00:00
Stefan Neis
2173b18fc8 Unicode compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-12 12:12:21 +00:00
Stefan Neis
be283c77a0 Additional imageId values for specific drive types on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-12 11:57:51 +00:00
Robin Dunn
8d38bd1d05 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-11 23:20:24 +00:00
Robin Dunn
2eeaec1909 Docview and IDE patch from Morag Hua with fix for bug #1217890
"Closing view crashes Python" plus some new features:

    New feature added to the IDE is 'Extensions'.  Under
    Tools|Options|Extensions, you can add calls to external programs.
    For example you can add a "Notepad" extension (under windows) that
    will exec Notepad on the currently open file.  A new "Notepad"
    menu item will appear under the Tools menu.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-11 23:18:57 +00:00
Robin Dunn
94211100ea Only freeze the splitter, the children will be automatically frozen too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-11 22:58:14 +00:00
Robin Dunn
88d139d2f5 Forgot to get rid of the old test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-11 19:44:40 +00:00
Robin Dunn
3a9604b42b Only Freeze/Thaw on wxMSW. The other ports don't need it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-11 19:43:15 +00:00