Commit Graph

2948 Commits

Author SHA1 Message Date
Stefan Csomor
8d007ed4e6 non owned window installation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:41:08 +00:00
Vadim Zeitlin
05718a98f9 avoid needless Unicode<->MB conversions in Unix wxExecute(); simplify the code; provide both versions taking char** and wchar_t** for compatibility; also use wxMacExecute() (renamed to wxMacLaunch() to avoid confusion) from all wxExecute() overloads but don't use it if wxEXEC_SYNC was requested as it doesn't support it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-23 02:27:23 +00:00
Vadim Zeitlin
b827d64707 refactored common code from XXX_EndProcessDetect in wxGTK[12] and wxMac/wxCocoa into wxHandleProcessTermination itself; also removed code dealing with negative pids as we don't use them any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 14:50:44 +00:00
Vadim Zeitlin
947f3b358c fix warnings about unused parameters/variables in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 12:11:37 +00:00
Vadim Zeitlin
1d043598b7 replace wxAddProcessCallback() with wxAppTraits::AddProcessCallback() to fix linking problems in Unix ports; also reduce code duplication between GUI and base versions making src/unix/baseunix.cpp unnecessary any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 00:07:13 +00:00
Francesco Montorsi
82c5e9ab46 fix wxBrush for the mac build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 09:37:59 +00:00
Francesco Montorsi
ac3688c0d8 make the Pen/Brush code backward compatible as discussed on wx-dev; marked the blocks of code to deprecate in future with FUTURE_WXWIN_COMPATIBILITY_3_0; add wxCHECK_MSG in all ports to block Get*() calls on invalid objects (as already is for all other refcounted objects and for most ports)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-20 15:08:51 +00:00
Stefan Csomor
96f5888b18 CGFloat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-19 14:09:44 +00:00
Stefan Csomor
5389e50515 make background colour be the real color, to have inheritance work correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-19 13:26:42 +00:00
Stefan Csomor
e95f52682f clean include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-19 13:24:27 +00:00
Stefan Csomor
65bea426fe have bg style wxBG_STYLE_CUSTOM not skip event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-19 13:23:41 +00:00
Stefan Csomor
9083e7fb1a fix default values after types were changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-17 08:58:00 +00:00
Francesco Montorsi
ed7ec76de3 some more build fix for wxPen/wxBrush style changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-17 00:46:07 +00:00
Francesco Montorsi
9d7a8e4ab4 build fix (looking at buildbot)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-16 22:42:38 +00:00
Francesco Montorsi
82cddbd97a fix also wxPen to use wxPenStyle,wxPenJoin,wxPenCap enums instead of plain int; remove from wxBrushStyle the styles wxPen-specific; add backward-compatible ctor to wxPen; don't include brush.h and pen.h from gdicmn.h, rather move wxPenList,wxBrushList,wxFontList in the relative headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-16 21:11:12 +00:00
Francesco Montorsi
3e6858cdcb introduce wxBrushStyle enum and replace 'int style' occurrences in wxBrush code with 'wxBrushStyle style'; the change is backward compatible and documented in changes.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-16 16:47:57 +00:00
Václav Slavík
bea6ba2d3b if we can't detect tooltip color, yellow as used by Tiger is still better than white, which isn't used anywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-16 00:35:24 +00:00
Vadim Zeitlin
6e42617af4 don't assign the returned value in wxMDIParentFrame::OnCreateClient() to any member variables, this is the job of the caller (according to documentation and wxMSW code) (modified patch 1910602)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 03:12:47 +00:00
Stefan Csomor
eb61203f6e use the same font matching fallbacks for all layout operations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-14 10:34:25 +00:00
Václav Slavík
5e4e03e9f9 include 'Version' in version string, it's what Apple apps do
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-12 21:28:21 +00:00
Stefan Csomor
9cb0c458c4 64/32 bit fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-06 12:24:33 +00:00
Stefan Csomor
6ef27a1414 64/32 bit fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-06 12:20:28 +00:00
Stefan Csomor
f88fc76e8f include fixed for non-precomp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-06 09:44:36 +00:00
Stefan Csomor
5252d9e410 graphics context additions (work in progress for cocoa integration) and merging graphics bitmap additions from Kevin O.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-05 21:27:46 +00:00
Stefan Csomor
f4a7b7a39b graphics context additions (work in progress for cocoa integration) and merging graphics bitmap additions from Kevin O.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-05 21:19:46 +00:00
Stefan Csomor
6639b056d6 shaped can be minimized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-05 21:16:16 +00:00
Stefan Csomor
cc2cc2c4e0 graphics context additions and merging graphics bitmap additions from Kevin O.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-05 21:14:28 +00:00
Václav Slavík
80d72f726d wxMac: Fixed wxListCtrl to respect items' non-default fonts.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 10:59:58 +00:00
Václav Slavík
34a3ed019b don't set m_font upfront in wxMac, let the GetDefaultAttributes mechanism used by other ports pick the right font if m_font is wxNullFont
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 10:52:33 +00:00
Václav Slavík
4bff335abe added Get(Class)DefaultAttributes implementation for all controls using DataBrowser native control; fixed wxListBox's to return correct font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 10:50:16 +00:00
Stefan Csomor
6a8cbe1b92 adjusting to changed ownership (font is only created in the GetFont call of wxTextAttr)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-29 20:47:07 +00:00
Stefan Csomor
0d0b1695e0 applying patch 1873285
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 08:11:33 +00:00
Václav Slavík
8b4b586ce9 fixed wxListCtrl::RefreshItem(s) - it didn't update anything before
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-24 17:07:13 +00:00
Stefan Csomor
f3b2b3e920 under 10.4 there are some theme brushes represented as pure grayscale, convert them to the rgb components accordingly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-23 14:48:21 +00:00
Stefan Csomor
d5af92fdd9 adding comments for debugging visibility differences between native and wx state
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-23 09:53:42 +00:00
Stefan Csomor
18d01215a1 Use native visibility information at this point, as it might trigger during a sequence of hiding/showing events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-23 09:46:26 +00:00
Stefan Csomor
ef53a8e814 avoiding double firing of visibility state changed for certain controls like multiline text controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-23 09:45:10 +00:00
Vadim Zeitlin
841e47cfd7 remove MacIsReallyShown() as we now have public IsShownOnScreen() doing exactly the same thing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-23 00:19:18 +00:00
Robin Dunn
975bcfda0d Add MacHideApp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 20:37:43 +00:00
Julian Smart
983ddcb9d6 Fixed IsShownOnScreen() for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 14:12:16 +00:00
Stefan Csomor
297218f05a better implementation from VZ
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-15 21:06:35 +00:00
Stefan Csomor
bf31b1d6d8 supporting case insensitive iteration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-15 16:24:13 +00:00
Stefan Csomor
15169ab341 applying patch 1894478, 10.5 AudioServices support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-15 16:21:07 +00:00
Julian Smart
df707c27b3 Cut down on unnecessary update events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 11:08:49 +00:00
Stefan Csomor
e014851ee9 fixing wxSystemColour conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 08:35:19 +00:00
Stefan Csomor
812e3c4742 fixing SetShape's bridging between RgnHandle and HiShapeRef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 10:49:19 +00:00
Stefan Csomor
eb0751b147 applying 1890924
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 14:21:34 +00:00
Václav Slavík
a9efc294a9 call Show(false) from ~wxDialog to call EndModal if the dialog is still modal consistently in all ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-05 19:13:26 +00:00
Julian Smart
f96524a0f6 Strip menu codes from page label for consistency with other platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-05 09:12:36 +00:00
Vadim Zeitlin
3f20f7d8a3 added wxGLCanvas::IsDisplaySupported() (patch 1879906)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 14:55:05 +00:00