Commit Graph

2937 Commits

Author SHA1 Message Date
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
Julian Smart
ddcbe73271 Fixed global cursor setting on Mac, which fixes busy cursor and context help cursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 11:02:47 +00:00
Robert Roebling
a9c98d7dd3 Sort of autoresize if only 1 column is there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-16 11:34:56 +00:00
Paul Cornett
e45080c10b make XPM data pointer parameter fully const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-14 18:16:37 +00:00
Robert Roebling
360b068ca2 Reapplied patch for drawing background of custom items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-13 13:38:11 +00:00
Stefan Csomor
17a1e84615 I still think that's needed ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-13 11:16:44 +00:00
Vadim Zeitlin
3aac0d765c STL build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-08 00:37:50 +00:00
Robin Dunn
7fc2ce00f7 Check wxUSE_DATAVIEWCTRL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-08 00:10:31 +00:00
Vadim Zeitlin
17808a7596 move Freeze() and Thaw() to wxWindowBase to ensure that they behave consistently (i.e. recursively, as described in the docs) in all ports; removed different duplications of freeze count from derived classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 00:21:31 +00:00
Paul Cornett
a242662331 non-pch build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-30 19:27:44 +00:00
Julian Smart
3aa8e4ea6d Added automatic dialog scrolling ability
Added ability to resize wizard bitmaps automatically
Made it easier to derive from wxWizard and override behaviour,
mainly by making members protected instead of private



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-29 16:35:39 +00:00
Robert Roebling
6edc74808a Fix from Hartwig
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-27 17:45:40 +00:00