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
Vadim Zeitlin
dad49cc7f9
compilation fix for wxUSE_STL==1 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-08 23:50:32 +00:00
Vadim Zeitlin
e3408b704d
added wxBase64Decode() overload taking wxString, otherwise it's inconvenient to use in wxUSE_STL==1 build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-08 23:41:50 +00:00
Robin Dunn
35a7f94b94
On Mac the first visible line needs to be recalculated after the Scroll because it can be set
...
to the wrong value in Scroll because of the paint event generated by the Update() there.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-08 22:29:58 +00:00
Vadim Zeitlin
0f1b6d7b58
removed extra const in DoGetFilenames() declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-08 13:00:45 +00:00
Chris Elliott
f1aa2b83cd
remove reference to old sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-08 08:10:49 +00:00
Chris Elliott
6b73ac78de
set minimum bcc32 version to turbo explorer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-08 08:00:59 +00:00
Vadim Zeitlin
d42b853581
blind fix for Borland problems with operator?: after latest changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-07 23:24:22 +00:00
Vadim Zeitlin
8e5dbcdd50
simplify the code for extended flags handling fixing a rare bug with wxSTAY_ON_TOP being ignored in some situations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-07 22:11:55 +00:00
Vadim Zeitlin
f73eddd2a5
made wxTreeCtrl::GetNextVisible() behave in the same way in Win32 as in the generic version and implemented GetPrevVisible() in the generic version
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-07 21:58:51 +00:00
Vadim Zeitlin
f0eebb39bc
don't create m_dottedPen with an invalid 0 style which results in an assert under MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-07 21:48:09 +00:00