Commit Graph

41788 Commits

Author SHA1 Message Date
David Elliott
51146826fc Halfway reasonable implementation of wxFont for wxCocoa.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 07:54:43 +00:00
David Elliott
ada162b932 Ignore generated autoconf.m4f file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 07:19:22 +00:00
David Elliott
dd6c8be6e9 Apply modified patch 1785299 to trunk and 2.8.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 21:52:02 +00:00
Robert Roebling
ce0cf2b871 Make wxRenderer::DrawItemSelectionRect() draw a focus outline of wxCONTROL_CURRENT and wxCONTROL_FOCUSED is given, blind patch for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 20:57:01 +00:00
Vadim Zeitlin
e00b31799c explicitly mention that IsChecked() can't be used with wxCheckListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 18:30:58 +00:00
Vadim Zeitlin
e256b53a3d remove wxWindow::Clear() from wxDFB and wxMGL which was unused (probably replaced by ClearBackground()) and conflicted with methods with the same name in other classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 18:22:15 +00:00
Vadim Zeitlin
76c39b5df1 test for __DARWIN__ with ifdef, not if
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 18:19:29 +00:00
Vadim Zeitlin
d3b8fe1071 include -DWXUSINGDLL in wx-config output under all platforms and not only Cygwin/Mingw32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 17:55:25 +00:00
Vadim Zeitlin
fb06f27139 fix references to wxCmdLineParser ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 17:32:16 +00:00
Vadim Zeitlin
2df2a65b2d fix broken links
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 17:29:14 +00:00
Robert Roebling
001f0f8273 Correct focus rect to not appear in unfocussed controls (currently doesn't appear at all under XP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 09:43:19 +00:00
Robert Roebling
49fc3b9c03 Correct EnsureVisible() to show last item entirely
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 09:21:04 +00:00
Robert Roebling
e2da67f6d7 More alignment issues
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 09:17:32 +00:00
Robert Roebling
69357fa0cb Change default alignment to centre vertically
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 08:50:22 +00:00
Robert Roebling
c7c5a6197d Document alignment parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 08:49:16 +00:00
Robert Roebling
67be459bba Ensure item is visible when selection moves, remove compile warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 08:37:48 +00:00
Robert Roebling
9743a4495c Minor doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 08:03:46 +00:00
Robert Roebling
8abbc646c8 Minor doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 07:57:40 +00:00
Robert Roebling
4d373bc038 Minor doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 07:56:42 +00:00
Robert Roebling
729a8b9b44 Minor doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 07:56:19 +00:00
Bryan Petty
e807896d46 Corrected doc typo (missing escaped underscore). Patch by Tim Stahlhut.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 06:58:06 +00:00
Paul Cornett
c266eff98c remove C++ comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 02:59:13 +00:00
Paul Cornett
525ee32a67 Fix declaration-after-statement compile error, remove C++ comments, remove unused GtkPizzaAdjData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-17 02:58:17 +00:00
Robert Roebling
e3c35a0d32 Moved paragraph to right place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 21:49:16 +00:00
Robert Roebling
0a13ee1b56 Minor sample corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 21:48:01 +00:00
Robert Roebling
d37b709c4b Correct activate logic for <ENTER>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 21:41:36 +00:00
Robert Roebling
2c3f6edd63 Correct activate logic for mouse clicks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 21:38:13 +00:00
Robert Roebling
cf90f9cca5 Correct drawing placement (16px + 1 px border below)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 21:04:30 +00:00
Robert Roebling
11b3105abf Correct text colour in wxIconTextRenderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 20:54:00 +00:00
Robert Roebling
cc28f5ecd0 Support for hover effect in header buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 20:48:19 +00:00
Robert Roebling
2a4f365c04 Doc improvements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 17:53:01 +00:00
Benjamin Williams
7da1b21e25 check if pane still exists before closing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 16:33:30 +00:00
Robert Roebling
ab5146089b Corrected AppendXXXColumn method params
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 12:13:38 +00:00
Robert Roebling
716a15b700 Docs for wxDataViewTreeStore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 11:54:46 +00:00
Robert Roebling
e94d0c1e66 Add wxDataViewTreeStore with sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-16 11:41:46 +00:00
David Elliott
a3261ffb75 Fix wxExecute process end detect behavior for wxCocoa and wxMac. I have no
idea why the current code used for Intel Macs doesn't work but it's not
working for me at all.  This should probably be backported to 2.8.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-14 08:51:45 +00:00
David Elliott
1a6d6b1071 Combine the check for wxMac and then the other check for wxMac/wxCocoa into
one define called USE_OLD_DARWIN_END_PROCESS_DETECT because it's wrong
to created pipeEndProcDetect on wxCocoa when it's not going to use it!
The next commit will show why it's now "Old".


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-14 08:37:11 +00:00
David Elliott
883ea3bf80 Don't force the child's m_isShown state to match that of the parent in CocoaAddChild.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-14 04:44:54 +00:00
Robert Roebling
c33edc08d6 Beginning of wxDataViewTreeStore API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 22:01:24 +00:00
Robert Roebling
7909f748e6 Minor doc corr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 22:00:40 +00:00
Robert Roebling
7e59e3d050 Made wxList no longer inherit from wxObject, no change in STL mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 22:00:10 +00:00
Robert Roebling
9a0a58f5af Use typesafe wxVariantList in wxVariant instead of wxList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 12:11:51 +00:00
Robert Roebling
7e6b478087 define typesafe wxVariantList (to be used by wxVariant instead of wxList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 11:57:48 +00:00
Robert Roebling
3586d10f72 wxVariantData no longer inherits from wxObject
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 11:45:34 +00:00
David Elliott
05725592b9 Implement creation of wxFont from wxNativeFontInfo.
Implement all of the getters to return the fields from the wxNativeFontInfo
contained in the wxFontRefData.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 08:47:38 +00:00
David Elliott
151b7b73cb Replace most of the fields in wxFontRefData with one wxNativeFontInfo.
Done on both trunk and 2.8.  Because the data members line up perfectly
and because I did not add nor remove any methods the ABI is (surprisingly)
not effected by this change.
The GetNativeFontInfo call now works.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 08:30:59 +00:00
David Elliott
99d21c0e1f Move wxCocoa's wxFontRefData from the header to the implementation file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 07:18:04 +00:00
David Elliott
9d31c23993 Rename src/cocoa/font.cpp to font.mm in both trunk and 2.8 branch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-13 06:58:26 +00:00
David Elliott
0206be6379 Disable accidently committed F-Script code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-12 20:31:56 +00:00
David Elliott
82ba48855e Remove wxNonControlNSControl from trunk. Leave in 2.8 because it removes
symbols (although theoretically no one could have ever linked against them).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-12 20:30:46 +00:00