Commit Graph

43712 Commits

Author SHA1 Message Date
Vadim Zeitlin
bd7cef4a05 fix gcc warning about assigning -1 to a guint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-28 01:45:36 +00:00
Robin Dunn
439cce1443 Use SetCanFocus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 21:32:05 +00:00
Francesco Montorsi
d2367a0f78 build fix for non-PCH builds (thanks to buildbot emails ;))
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 21:27:34 +00:00
Robin Dunn
befc36f888 Use C++ names in the text, not wxPython names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 21:27:12 +00:00
Robin Dunn
6c09235ca1 Fix line endings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 21:26:13 +00:00
Robin Dunn
457d88d9d9 wxPython needs win_gtk.h to be installed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 21:25:54 +00:00
Robin Dunn
c0a4c58aca A bit of cleanup for STC's use of PopupWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 21:25:03 +00:00
Robin Dunn
5e328f3879 Use SetCanFocus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 21:23:56 +00:00
Francesco Montorsi
24f5cd42b7 avoid even more false warnings better handling numeric default values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 21:15:04 +00:00
Francesco Montorsi
2fd0ada578 final fixes to [a-b]*h headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 21:14:31 +00:00
Francesco Montorsi
03d4f7b992 add 'availability' infos to both wxMethod and wxClass: in this way ifacecheck does not warn about methods documented to be available only for port X, which are missing from the gcc XML, if the gcc XML was produced for a port different than X; this requires @onlyfor ALIAS to output <onlyfor> tags in the XML output
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 20:57:05 +00:00
Francesco Montorsi
d9faa1fede add @onlyfor tags to remove further ifacecheck warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 20:54:47 +00:00
Francesco Montorsi
5570107a9d add the ability to parse the gccxml preprocessor output in order to reduce the number of false positives; fix wrong wxASSERT in wxMethod::IsOk; provide more help when called with --help
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 19:15:00 +00:00
Vadim Zeitlin
1512f0f7d8 lock wxPendingEventsLocker when deleting the handler from wxPendingEvents (patch 1925946)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 19:13:58 +00:00
Vadim Zeitlin
65ef1791d3 compilation fix for PCH-less compilation (thanks buildbot)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 16:41:08 +00:00
Vadim Zeitlin
5651b7aa60 fixed typo (extra underscore) in wxEVT_COMMAND_LISTBOXDOUBLECLICKED
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 16:17:42 +00:00
Vadim Zeitlin
d2a48d5cbc added convenient wxON_BLOCK_EXIT_SET() macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 16:13:50 +00:00
Vadim Zeitlin
51c679d5e2 added convenient wxON_BLOCK_EXIT_THISn() macros wrapping wxON_BLOCK_EXIT_OBJn(*this)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 15:37:41 +00:00
Francesco Montorsi
eeb67742cd removed old utils (helpgen, tex2rtf, helphtml, nplugin, wxprop, wxole)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 14:03:33 +00:00
Vadim Zeitlin
1d1b48625e don't blit too much when copying static box border in OnPaint()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 13:03:02 +00:00
Stefan Csomor
bce28872ac graphics bitmap implementation, fix for bitmap scaling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 08:30:30 +00:00
Vadim Zeitlin
b3514fd617 MSW fixes for the last change: call Realize() after changing the toolbar; hide/show the window when removing/adding it back as it isn't done by Remove/InsertTool() under MSW unlike under GTK (should it?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 00:32:41 +00:00
Vadim Zeitlin
ec96848003 don't use gtk_notebook_insert_page() return value as some old GTK+ versions (the one in Solaris 9 for instance) don't have it; also don't use gtk_notebook_get_nth_page() which we need this return value for at all in the trunk as it seems to be unnecessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 00:28:45 +00:00
Vadim Zeitlin
1be45608e7 Several fixes for removing/readding controls to the toolbar:
1. Don't destroy the control in wxToolBar::RemoveTool() as this prevents
   it from being added back with is the purpose of using RemoveTool() rather
   than DeleteTool().

2. Call wxToolBarTool::Attach/Detach() from the base code, not just from wxMSW
   and wxMac (wasn't called by wxGTK at all).

3. Allow adding back the removed control tool in wxGTK.

4. Add test for removing/adding back a control tool to the sample.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 00:10:19 +00:00
Michael Wetherell
aba6d9ffc6 Add Solars 9 builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-26 18:40:01 +00:00
Francesco Montorsi
2f46438b36 added the rungccxml.sh script and the setup_gccxml.h file to make it easier to generate the gccxml output for ifacecheck
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-26 16:40:54 +00:00
Julian Smart
29f571de5c Added GetId() to Connect calls to ensure only the relevant events are processed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-26 15:49:31 +00:00
Francesco Montorsi
53a2db124c substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-26 15:06:00 +00:00
Stefan Csomor
59022c25c1 popup activation scope and l&f
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-26 11:16:14 +00:00
Stefan Csomor
81749bafae fixing custom background on non owned windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-26 10:55:32 +00:00
Stefan Csomor
a66cf5a0f6 fixing custom background on non owned windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-26 10:54:09 +00:00
Julian Smart
c1aec196fc Fixed selection clearing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-26 08:48:15 +00:00
Vadim Zeitlin
25bc5c55d0 several g++ 4 warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 23:53:28 +00:00
Francesco Montorsi
1413ac0435 final revision of prototypes for b*h (and few others)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 22:06:48 +00:00
Stefan Csomor
5df8beb1d9 moving tlw list up, cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 21:36:11 +00:00
Stefan Csomor
328f0df87c moving tlw list up, cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 21:34:30 +00:00
Francesco Montorsi
c822d4ca20 build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 21:19:27 +00:00
Francesco Montorsi
e86f2cc84a reorganized wxBitmap/wxBitmapHandler classes to use wxBitmapType instead of "long" where possible; made them const-correct; introduce wxBITMAP_SCREEN_DEPTH instead of -1 for clearness (specially in the docs); remove wxBitmapHandler empty stubs and rename wxBitmapHandlerBase as wxBitmapHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 20:31:48 +00:00
Stefan Csomor
0685aa9eb6 porting reordering of controls back from 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 19:50:38 +00:00
Francesco Montorsi
95dfcbad97 mention that both gccxml and doxygen are smart enough to mark as virtual functions declared so in base classes but not explicitely declared virtuals in derived classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 17:41:11 +00:00
Julian Smart
c887f67c21 Fix for non-pch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 17:04:15 +00:00
Francesco Montorsi
7fbadf873c further improve the automatic modify mode: wrap correctly inserted prototypes at comma boundaries, add @deprecated only if needed, update the locations of the methods below the fixed one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 16:07:46 +00:00
Francesco Montorsi
1d497b996f final prototype fixes to a*h headers; s/WXTYPE/wxEventType
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 16:01:21 +00:00
Stefan Csomor
222180ffe9 adding 10.4 code for making focus events behave as similar to 10.5 as possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 15:36:41 +00:00
Vadim Zeitlin
0bbe61b8c1 document On{Open,Save}Document()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 15:21:18 +00:00
Vadim Zeitlin
1a781247d4 call OnReadWaiting(), not OnExceptionWaiting(), when we receive EPOLLHUP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 14:51:11 +00:00
Vadim Zeitlin
b2c31e32de implement wxListItem::operator=()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 13:45:40 +00:00
Vadim Zeitlin
47af39fbf4 ANSI mode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 13:33:35 +00:00
Stefan Csomor
d0d7f20728 fix adding non owned window for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 13:00:31 +00:00
Francesco Montorsi
203ba76a12 for each prototype make sure that if the n-th argument has a default value, then all the following arguments have a default value, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 12:26:23 +00:00