Commit Graph

1976 Commits

Author SHA1 Message Date
Stefan Csomor
d281db8b42 avoiding unkown namespace std
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-03 08:43:31 +00:00
Stefan Csomor
abb4f9c937 correcting CGImage handling to be always correctly initialized and freed on OSX builds, even when not using CoreGraphics, Ryan's Patch 1372209
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-03 07:58:16 +00:00
David Surovell
17cfea0162 minor cleanup, part 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-01 23:32:47 +00:00
David Surovell
97071cdbff minor cleanup: corrected typos, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-01 23:20:30 +00:00
David Surovell
1aa7b427f2 minor cleanup: corrected typos, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-01 14:28:30 +00:00
David Surovell
a8d2fb31cb readability cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 18:30:49 +00:00
David Surovell
ec7a8d0256 added missing #endif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 17:45:05 +00:00
Vadim Zeitlin
21e0a4d5f1 1. moved m_majorDim duplicated in many ports to wxRadioBoxBase
2. also implement Getcolumn/RowCount() in it now and document them
3. removed various remains of old (pre-wxRadioBoxBase) cruft

sorry in advance for any compilation breakage on the platforms I can't test on


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 16:28:15 +00:00
Mart Raudsepp
da9e956384 Make wxJoystick::GetNumberJoystick a static method, as the number of
joysticks attached to the computer is a global property, not one of the
specific instance. Patch from Lauri Nurmi.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-29 12:50:13 +00:00
Stefan Csomor
0df4335d4d using backward compatible calls for HitTest hack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-22 17:54:16 +00:00
Dimitri Schoolwerth
412e0d47c0 applied patch #1356901 "Yet another removal of extra semicolons", also fixed remaining similar cases of extra semicolons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 21:55:35 +00:00
Vadim Zeitlin
46bed958ef don't cast from float to int (provoking a warning) just to cast back to float again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 15:19:12 +00:00
Vadim Zeitlin
f885b81573 fixed harmless signed/unsigned comparison warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 15:18:07 +00:00
Stefan Csomor
21ec3bf99c patch 1352744
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-19 13:05:14 +00:00
Mart Raudsepp
90e572f1e5 Spelling fixes from Andreas Mohr (patch #1360064)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-19 01:07:56 +00:00
Stefan Csomor
8b28584104 patch 1306473
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-18 21:23:24 +00:00
Stefan Csomor
7db33dd7ad patch 1265473
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-18 18:40:34 +00:00
Stefan Csomor
41ab357ed9 corrected wake up code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-14 20:24:16 +00:00
Stefan Csomor
3c3e697033 adding hit testing (needed a hack)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-10 09:43:03 +00:00
Stefan Csomor
e00eeba851 allow a SHAPED flag for a dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-09 14:08:02 +00:00
Stefan Csomor
8ec0a8fa72 wx..._EX_METAL styles support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-09 09:45:58 +00:00
Włodzimierz Skiba
67eb4cb253 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 13:28:34 +00:00
Stefan Csomor
a6de78177e fix undefined structs under 10.2 (tinderbox)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 06:33:27 +00:00
Stefan Csomor
f51374fe9d cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 17:02:57 +00:00
Stefan Csomor
d4bd6c97be cleanup, adding correct window-ids to window events (important when using eg Connect)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 17:01:15 +00:00
Stefan Csomor
26a2f9144b cleanup, using Tiger funcs if possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 16:58:32 +00:00
Stefan Csomor
d32be04cd7 support for wxNO_BORDER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 16:36:00 +00:00
Stefan Csomor
51cdab3ef8 CGImage Creation is always available under OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 16:34:48 +00:00
Stefan Csomor
57a21e6c45 switch to a CoreFoundation based and thread-safe implementation for message boxes for Mach-O builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 14:59:34 +00:00
Włodzimierz Skiba
fb5246bead Get/SetTitle only for wxTopLevelWindow (wxMac part).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 14:37:19 +00:00
Julian Smart
f3e874756b Don't resend an update event from m_spin to avoid recursion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 10:15:42 +00:00
Stefan Csomor
24cd6f8250 finished implementation for stencil and colored patterns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-05 16:53:42 +00:00
Stefan Csomor
3ca57155b4 added permission error to the 'expected' error codes, removed assert, as this leads to problems in wxPython otherwise, and getting another error essentially means we cannot continue iterating..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-05 07:39:46 +00:00
Stefan Csomor
64bd657c27 support for 10.4 provided context menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-03 14:23:22 +00:00
Stefan Csomor
44aa865dfc default implementations for Replace and Remove
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-02 16:40:56 +00:00
Stefan Csomor
ce0d1032d1 applying patch 1345435
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-02 15:22:39 +00:00
Stefan Csomor
6567c540f5 re-added support for help-menu and application-menu items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-02 14:50:10 +00:00
Włodzimierz Skiba
90c0f5a958 Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-26 12:44:28 +00:00
Vadim Zeitlin
138861bcdd don't use __MSL__ unless it's defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-09 12:23:58 +00:00
Włodzimierz Skiba
88ef3a57a4 wxPalette unified. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-06 14:37:43 +00:00
Vadim Zeitlin
2c01d33555 don't use a floating point value as a boolean flag; gcc4 (correctly) complains when it's compared with 0; use different function for setting the current and given time in wxMacCarbonEvent instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-06 12:53:24 +00:00
Włodzimierz Skiba
edc536d358 wxColour source cleaning. Corrections to 'const unsigned char' within wxColour docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-05 16:22:44 +00:00
Włodzimierz Skiba
1a1498c08b Fix for mistake with const for non pointer/reference with corrections in documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-04 18:14:41 +00:00
Włodzimierz Skiba
46562151eb wxBrush::SetColour and wxPen::SetColour unified. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-04 16:13:42 +00:00
Stefan Csomor
6e644ef2d3 avoid system pop-up menu commands being handled by wxApp, bug was shown in printing, using File->Print and changing Popup from 'Copies & Pages' to eg 'Layout'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-03 09:28:01 +00:00
David Elliott
38c8fce8c4 Needed to add #include "wx/statusbr.h" to know that wxStatusBar is derived
from wxWindow for valid pointer comparison.
Went ahead and moved some includes into new ifndef WX_PRECOMP section to
improve compilation speed when using precompiled headers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-30 16:39:41 +00:00
Włodzimierz Skiba
11e62fe658 wxItemContainerImmutable::FindString unified.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-27 17:05:26 +00:00
Stefan Csomor
ff23892253 fixing focus handling for generic controls in carbon-cfm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 04:55:02 +00:00
Vadim Zeitlin
c7fe80e285 Mac compilation fix after const patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 11:06:02 +00:00
Vadim Zeitlin
fbfb8bcc3f added missing consts and pass objects by const reference instead of by value (patch 1205869)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-24 21:43:15 +00:00