Commit Graph

41558 Commits

Author SHA1 Message Date
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
David Elliott
f48408ae35 Use WXNSView just like wxWindow does when creating a wxControl. There are
already wxControl subclasses such as wxStaticBox not using primary views which
derive from NSControl so wxControl has to support this already.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-12 20:27:02 +00:00
Robert Roebling
a826202ecf Implemented HasContainerColumns() for GTK+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-12 19:36:21 +00:00
David Elliott
d39780517d Implement wxWindow::GetTextExtent to use wxDC to at least return something
reasonable rather than leaving uninitialized garbage values unchanged.

Fix wxWindow::DoSetVirtualSize so that the underlying Cocoa view always
takes up at least as much area as its enclosing clip view.  In particular,
wxDefaultCoord was not being handled, resulting in -1 size components.

Together, these make the generic wxListCtrl mostly usable.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-12 19:17:45 +00:00
Robert Roebling
1e40f6676a added wxDataViewModel::HasContainerColumns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-12 18:31:12 +00:00
Julian Smart
fe8b03618a Make SaveFile and LoadFile virtual so they can be overridden
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-11 19:56:38 +00:00
Chris Elliott
444833b323 update makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-11 15:58:04 +00:00
Chris Elliott
c1a4ce66a6 Borland still hates ?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-11 12:18:32 +00:00
Vadim Zeitlin
d935b42145 wxUniv compilation fixes in themed border drawing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-11 09:46:00 +00:00
Michael Wetherell
646bac8a6e Add quick builds for Windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 21:54:26 +00:00
Václav Slavík
d350fbec22 compilation fixed for wxDataViewCtrl: almost no class was properly exported in wxGTK version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 19:44:26 +00:00
Chris Elliott
b1ab476240 update setup.h for univ
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 17:01:34 +00:00
Vadim Zeitlin
2978a784f5 compilation fix for wxUniv: don't use the native wxTextEntry class in this case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 15:45:28 +00:00
Chris Elliott
ebdbecff4a update souce of wxart2d
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 10:51:52 +00:00
Václav Slavík
0376cc529b compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 10:29:21 +00:00
Benjamin Williams
c89e16e423 added DockFixed() pane option; doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 10:27:03 +00:00
Václav Slavík
6a6ea041d9 compilation fix for Mingw: it doesn't have std::wostream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 09:48:00 +00:00
Chris Elliott
1583600031 fixes as per http://thread.gmane.org/gmane.comp.lib.wxwidgets.devel/92325
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 07:44:34 +00:00
Chris Elliott
47b4bc1768 patch as at http://thread.gmane.org/gmane.comp.lib.wxwidgets.devel/92350 thanks
chris

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-10 07:20:44 +00:00
Robin Dunn
b9cd2cb909 Give wxMac's wxStaticBox an AcceptsFocus method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 16:04:16 +00:00
Julian Smart
44cc96a80c Merged wxRichTextAttr and wxTextAttrEx into wxTextAttr, and added a font table
to wxRichTextBuffer to reduce wxFont consumption and increase performance.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 11:20:36 +00:00
Jouk Jansen
e97e6073b3 src/X11/font.cpp needs smae change as other wxXXX versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 09:20:32 +00:00
Jouk Jansen
0962839d23 Give NULL explicit type to make interface recognizeable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 09:18:11 +00:00
Jouk Jansen
5273b98ebe Update OpenVMS Build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 09:17:24 +00:00
Benjamin Williams
88664cda08 in LoadPerspective, if pane wasn't found, just skip it instead of bailing out
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 07:25:29 +00:00
Vadim Zeitlin
99d8bc6593 added a trivial test for wxString stream insertion operators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 00:10:07 +00:00
Vadim Zeitlin
ee8c79c13f renamed a strangely named variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 00:09:44 +00:00
Vadim Zeitlin
6b61b594cf define insertion operator in std::wostream in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 00:09:01 +00:00
Vadim Zeitlin
7a906e1a21 fixed operator<<(ostream&, wxString) to output string contents and not wchar_t pointer value in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 00:01:59 +00:00
Vadim Zeitlin
6919e3bb38 don't define operator<<(ostream&, wxString) at all if it's already defined in the library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 00:01:20 +00:00
Vadim Zeitlin
d20d5ee858 no need to use ToAscii() explicitly in wxBase64Decode() call after r49095
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-09 00:00:31 +00:00