Commit Graph

5417 Commits

Author SHA1 Message Date
Václav Slavík
85b657c79d compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-31 10:12:33 +00:00
Václav Slavík
e8e1149bd7 make it possible to use wxConsoleApp in GUI build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-31 10:11:28 +00:00
Vadim Zeitlin
ca5ccd7eeb added wxUxThemeHandle class for opening/closing theme handles easily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-31 00:59:37 +00:00
Vadim Zeitlin
2d9c0e97c5 [start of] cleanup uxtheme support code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-30 22:31:20 +00:00
Vadim Zeitlin
27d0dcd033 added wxVListBox::OnDrawBackground(); fixed warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-30 21:36:38 +00:00
Stefan Csomor
5c0217af06 workaround CW bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-30 17:57:37 +00:00
Stefan Csomor
4393b50ccd fixing xti problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-30 17:55:53 +00:00
Julian Smart
c6151f2a94 Added wxPaintDCEx class, to handle the case where an HDC
is passed with WM_PAINT. Apps that want to can have their
own HDC painted on.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-29 14:27:18 +00:00
David Elliott
b9505233a5 Keep track of the captured mouse window so the base GUI code thinks the window
is captured.  Doesn't capture it, but at least satisfies the assertions.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-29 02:20:51 +00:00
Stefan Csomor
70e881039b metadata streaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 20:44:57 +00:00
Stefan Csomor
fbbdc52c5d xti updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 20:16:51 +00:00
Stefan Csomor
38759b6794 Added Setter for Position (consistency)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 20:15:59 +00:00
David Elliott
aa3d027735 wxCocoa: Include new platform-specific headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 19:09:47 +00:00
David Elliott
977ea6b6bf Added wxClipboard and wxDataObject (and friends) declarations and stubs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 19:07:26 +00:00
Vadim Zeitlin
f0244295e3 added wxAppTraits::CreateRenderer() which may be used to customize the renderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 10:59:42 +00:00
Stefan Csomor
06305c29bd xti introduction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 08:39:37 +00:00
Stefan Csomor
6d553b5fd0 wxUSE_EXTENDED_RTTI as name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 08:39:12 +00:00
Václav Slavík
0ca4ab85b7 ported wxSVG contrib to bakefile (patch #778614)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 08:33:29 +00:00
Stefan Csomor
a095505c96 xti introduction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 08:10:54 +00:00
Stefan Csomor
9a069b7279 even more defines for rerouting the xti information to the correct members
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-28 08:05:34 +00:00
Vadim Zeitlin
93fa67c0e6 GetPath() now has wxPATH_GET_COLUME by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-27 22:53:23 +00:00
Václav Slavík
7c4728f633 split wxBase into wxBase and wxNet libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-27 22:41:06 +00:00
Václav Slavík
c0421c9993 added *_WITH_DECL macros so that it is possible to export hashes from
DLLs other than wxCore


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-27 22:35:02 +00:00
Václav Slavík
1412634be8 compilation fix for BC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-27 10:53:44 +00:00
Vadim Zeitlin
62dc9cb4f1 added orient parameter to DrawSplitterSash instead of using wxMirrorDC in the splitter (it is now used in generic renderer only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-27 02:00:55 +00:00
Robin Dunn
408ac1b8cf MOre fixes for DLL builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-26 00:18:57 +00:00
Robin Dunn
7ba1412f19 Fixes to allow STC to be built as a DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-25 21:24:49 +00:00
David Elliott
c16471b6e8 Fixed operator[] recursion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-25 13:56:29 +00:00
Mattia Barbon
90b6b97467 Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-24 20:06:02 +00:00
Mattia Barbon
e87b783352 Create a new wxStringBase class, providing a STL-like API, using
the current wxString implementation.
  Derive wxString from one of wxStringBase, std::string, std::wstring
depending on wxUSE_STL/wxUSE_UNICODE settings. wxString provides
full compatibility with the old wxString in both wxUSE_STL=0 and
wxUSE_STL=1 modes (except for [Un]getWriteBuffer).
  Add some configure checks for std::string features.
  Add tests for STL API in console sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-24 19:44:57 +00:00
Mattia Barbon
728c62b66d Fixed wrong wxList<T>::compatibility_iterator::GetPrevious.
Added operator== and != for compatibility_iterator.
  Removed deprecation warning of wxStringList: until wxPathList
is changed not to use wxStringList, having the warning is just
annoying.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-24 19:33:59 +00:00
Mattia Barbon
684d26bb27 Removed (wrong) wxHashTable::compatibility_iterator::GetPrevious
implementation: hash table iterators are forward-only.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-24 19:29:42 +00:00
Stefan Csomor
02ac8d7a5d expat define MACOS_CLASSIC added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-24 10:44:41 +00:00
Julian Smart
b38b0d22d7 Fixed preview navigation as per ancient bug report
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-24 10:07:43 +00:00
Julian Smart
d2b354f9c9 Printing improvements: GetPageInfo() gets called after the DC has
been set and after OnPreparePrinting() has been called so it can
report the number of pages accurately; doesn't try to set
number of pages in print dialog, in common with other Windows apps;
wxHTML easy printing's preview shows number of pages
correctly; preview scrollbars are set correctly; keyboard navigation
improved


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-23 20:30:19 +00:00
Mattia Barbon
3d16b99ece Remove single-argument constructor of wxHashMap::value_type.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-23 19:26:32 +00:00
Mattia Barbon
d8274c928e Fixed memory leaks when wxUSE_STL=1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-23 19:06:14 +00:00
Mattia Barbon
7df07b10aa various compilation/warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-23 19:04:42 +00:00
Václav Slavík
90d26317f7 wxUSE_XML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-23 17:13:20 +00:00
Vadim Zeitlin
52c14774b3 restore some of the styles; added support for splitters without border/sash to generic renderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 22:12:32 +00:00
Vadim Zeitlin
4749467786 more warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 21:50:05 +00:00
David Elliott
2c23fe91e3 wxCocoa: Added preliminary Blit support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 17:40:52 +00:00
David Elliott
69f2115d33 Added NSImage definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 13:02:13 +00:00
Václav Slavík
a6cbc4db3d compilation fixes for Vadim's changes and Borland C++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 11:13:50 +00:00
Chris Elliott
aa3d520a74 borland does not like ; at end of macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 09:01:02 +00:00
Vadim Zeitlin
2eb10e2a17 more warning fixes; removed references to wxToolBarBase from wxRTTI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 01:42:41 +00:00
Robin Dunn
d99859e492 Patch #775355 Unicode fix for STC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 01:00:16 +00:00
Vadim Zeitlin
fc7a2a602b undisable many warnings for VC++ in defs.h and fixed several thousands of them in the sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 00:24:07 +00:00
Vadim Zeitlin
cd989b24ae suppress warning about not being able to generate copy ctor/operator=()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 23:16:57 +00:00
Vadim Zeitlin
4a8cd0189f must derive from wxDC, not wxDCBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 23:13:34 +00:00
Vadim Zeitlin
cfbef359d6 added default parameters to wxBrush/wxPen ctors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 23:13:15 +00:00
Vadim Zeitlin
b3208e1158 virtualized splitter drawing; removed/deprecated some styles and moved others from wx/defs.h; eliminated flicker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 23:12:17 +00:00
David Elliott
28f3fe51bd wxCocoa: Preliminary wxMemoryDC implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 20:55:50 +00:00
Vadim Zeitlin
5b36366c59 gave default parameters for wxBrush() ctor from wxColour (this is what is used in 99 of cases...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 20:41:48 +00:00
Mattia Barbon
a381fd1c0a Compilation fixes for wxUSE_STL=1 and for
WXWIN_COMPATIBILITY_2_4=0.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 19:55:46 +00:00
Vadim Zeitlin
4f53523161 gave default parameters for wxPen() ctor from wxColour (this is what is used in 99 of cases...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 19:39:34 +00:00
Vadim Zeitlin
8f20ea0391 added wxMirrorDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 19:15:17 +00:00
David Elliott
aeb500e64c Don't depend on wx/dcmemory.h to include wx/dcclient.h for wxPaintDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 18:57:04 +00:00
David Elliott
fe8f794343 Implemented wxDC stack with focus locking and unlocking
Implemented wxClientDC


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 17:06:02 +00:00
Vadim Zeitlin
c89d41600b only define operator bool() if operator long() is not defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 13:03:33 +00:00
Vadim Zeitlin
6f12c2c955 load any files, not only XPMs, in wxIcon(wxIconLocation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 12:21:22 +00:00
Mattia Barbon
b5435dccd0 Compilaton fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 10:01:56 +00:00
Vadim Zeitlin
11d395f9d7 icon location may contain , so added GetIcon() overload taking MessageParameters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 01:13:18 +00:00
David Elliott
d135b1a5f7 wxCocoa: Added preliminary wxBitmap support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 00:27:32 +00:00
David Elliott
a4d592ff8d wxCursorRefData inherits from wxObjectRefData instead of wxBitmapRefData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 00:07:58 +00:00
David Elliott
c10ec9f5b2 Added NSBitmapImageRep
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 00:05:16 +00:00
Julian Smart
12617ca53c Added a resource for Smartphone menubar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 22:59:09 +00:00
Václav Slavík
a90d7e684a moved XML classes to the core
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 22:12:55 +00:00
Václav Slavík
27b0c28644 moved XML classes to the core
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 21:37:03 +00:00
Vadim Zeitlin
07f20d9a63 added sizers support; allow resizeable wizards (Robert Vazan)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 20:48:52 +00:00
Václav Slavík
e066bd132d compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 20:39:35 +00:00
Vadim Zeitlin
5b087ae258 added wxSize::IncTo/DecTo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 20:04:22 +00:00
Mattia Barbon
b5f6b52ab3 Compilation fix for !WXWIN_COMPATIBILITY_2_4.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 19:32:44 +00:00
Mattia Barbon
a9711a4deb Compilation fixes for !WXWIN_COMPATIBILITY_2_4.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 19:27:14 +00:00
Vadim Zeitlin
4dc5502753 fixed suppressing of wxFontMapper questions which was broken by GUI/base separation changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 18:40:24 +00:00
Vadim Zeitlin
38c4cb6aa7 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 18:29:21 +00:00
Vadim Zeitlin
9c7f49f569 added wxRendererNative to be used by the generic controls for rendering platfomr-specific parts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 17:52:26 +00:00
Vadim Zeitlin
2d75caaa6d fixes for deprecated warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 14:01:00 +00:00
Vadim Zeitlin
f888d61444 made wx[Array]TreeItemId[s] more backwards compatible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 23:12:33 +00:00
Mattia Barbon
69b9f4cca4 wxUSE_STL=1 compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 22:42:12 +00:00
Mattia Barbon
1807c27dbc Don't #include Motif headers from src/x11/glcanvas.cpp.
prepare for using src/x11/glcanvas.cpp for wxMotif.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 22:07:15 +00:00
Mattia Barbon
9b51403d37 Remove commented-out code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 22:04:23 +00:00
Mattia Barbon
2da2f941bb Fix wx[Sorted]ArrayString::Index when wxUSE_STL=1, because
it is different than wxArray::Index (second argument is for
case sensitivity, not search direction).
  Use forward declaration for wx[Sorted]ArrayString, where
possible.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 22:01:14 +00:00
Vadim Zeitlin
d33f1a1a9a warning 4284 doesn't have to be suppressed any more for VC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 21:22:41 +00:00
Vadim Zeitlin
b92203a8be moved smart phone test to chkconf.h from features.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 21:11:47 +00:00
Vadim Zeitlin
ee4b272189 replaced untyped hash with a typed one; 64 bit fixes (don't cast pointers to long...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 21:06:59 +00:00
Vadim Zeitlin
46674ada08 reduced compilation dependencies
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 21:01:58 +00:00
Vadim Zeitlin
137b730319 compatibiltiy functions should be inline, we don't want to take space hit for using them nor speed hit for the user code!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 19:56:46 +00:00
Vadim Zeitlin
6de4403884 define a special PTR version of LIST macros which should be used if you want operator->()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 19:52:00 +00:00
Vadim Zeitlin
6108e3fd32 added NO_PTR versions of ARRAY macros to suppress warnings (based on patch 770983)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 19:46:29 +00:00
Vadim Zeitlin
282e8e0c10 don't disable warnings for VC7, not necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 19:16:15 +00:00
Vadim Zeitlin
e3a6a6b2bc added Show/HideNativeCaret() (patch 759924)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 19:01:27 +00:00
Julian Smart
449110cd74 Added minimal file dialog for SmartPhone
Use wxSYSTEM_MENU to get X symbol on PocketPC


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 17:46:33 +00:00
Vadim Zeitlin
f74172ab42 extracted common code into a single wxfileDialogBase class (patch 758901)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 17:22:05 +00:00
Vadim Zeitlin
f363e05c6d added GetForbiddenChars() and TRUE -> true (patch 757777)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 17:06:29 +00:00
Mattia Barbon
4c3ebca927 Fix some compilation and linking errors in samples.
Replace some calls to wxString::getWriteBuffer with
wxStringBuffer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 15:05:08 +00:00
Mattia Barbon
fe5fc682a2 Fix wxStringBuffer for wxUSE_STL=1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 20:31:59 +00:00
Mattia Barbon
941b78cc1d Added wxStringBufferLength: works like wxStringBuffer, except
it calls UngetWriteBuffer(size_t) instead of UngetWriteBuffer().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 20:08:47 +00:00
Mattia Barbon
e589896152 MSVC 5 compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 19:47:19 +00:00
Julian Smart
bf95a04f16 Added some standard further identifiers to help with WinCE toolbars
Moved wxID_REPLACE to defs.h
Can now add tools to WinCE toolbar, if using standard identifiers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 16:16:14 +00:00
Julian Smart
39d2f9a7c8 Added WCE toolbar
Got menubars working with WCE


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 14:12:53 +00:00
Robin Dunn
e14d10b039 Update to Scintilla 1.53
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 06:43:31 +00:00
Vadim Zeitlin
1648d51bcb allow to change the event propagation level (modified patch 743086)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 00:39:05 +00:00
Vadim Zeitlin
b5a98acdf2 applied event speed up patch (752928)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 23:59:49 +00:00
Vadim Zeitlin
520200fd10 added format parameter to File/DirName()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 23:39:28 +00:00
Mattia Barbon
f700f98cf5 Use correct types for comparison functions in wxArray,
wxSortedArray and wxSortedArrayString, when wxUSE_STL=1.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 22:23:43 +00:00
Vadim Zeitlin
bf07249cdd don't clear the handles list in dtor, it is static/global (patch 773029)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 22:03:28 +00:00
Václav Slavík
ff98bd681d dll compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 15:38:19 +00:00
Václav Slavík
d8290dd058 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 14:18:19 +00:00
Václav Slavík
ace0fab4f1 remove extra space at top and bottom of the page if present
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 12:11:10 +00:00
Vadim Zeitlin
2f55280287 useh higher value of _WIN32_IE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 09:46:49 +00:00
Václav Slavík
ff64116225 previous commit removed WXDLLIMPEXP_HTML by mistake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 09:26:31 +00:00
Václav Slavík
eac90854bd compilation fixes for msw_gl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 08:31:33 +00:00
David Elliott
ce319b6d1b Implement GetLabel and SetLabel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 14:54:59 +00:00
Václav Slavík
67158ef673 removed GetHorizontalConstraints -- no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-16 13:04:37 +00:00
Julian Smart
42d11c8e66 Compile with EVC 3.0 2002
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 22:28:21 +00:00
Václav Slavík
2419f34582 no need to define STRICT here either
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 18:58:28 +00:00
Václav Slavík
9ed0d735d5 added <windows.h> wrapper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 18:52:32 +00:00
Václav Slavík
4b41ab2687 DigitalMars check didn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 18:44:13 +00:00
Václav Slavík
8ba2f3ec94 don't break lines in the middle of word
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 18:28:21 +00:00
David Elliott
e92ea62916 SetStringSelection: wxString& should be const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 15:10:24 +00:00
David Elliott
24e97652b0 wxCocoa: Added wxGauge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 14:04:22 +00:00
Julian Smart
0be9ace27e Added RTL functions missing from WinCE to wxchar.h/cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 13:46:39 +00:00
Julian Smart
529b7f71bd Small tweaks for WinCE compatibility
Use generic folder dialog for WinCE


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-15 13:15:48 +00:00
David Elliott
768d9ec8ca wxCocoa: Added wxSpinButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 17:33:36 +00:00
David Elliott
421a84317f wxCocoa: Added basic (i.e. not working) implementation of wxComboBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 15:58:33 +00:00
David Elliott
49e5528add Added default argument (true) to Show()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 14:43:34 +00:00
David Elliott
15d521a109 Added (Start|End)DrawingOnTop stubs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 13:59:20 +00:00
David Elliott
140e7468ab Place wxAutoNSAutoreleasePool in this header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 13:03:18 +00:00
Julian Smart
955a919785 Rationalised OnIdle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 08:41:08 +00:00
David Elliott
9977626de4 Put OnIdle() back. Without deleting pending objects, frames that have
been Destroy()ed (e.g. by the default close implementation) never actually
get deleted and thus the program never terminates because the
wxTopLevelWindowBase destructor is never called to do ExitMainLoop()
FIXME: Why isn't this OnIdle stuff simply in wxAppBase?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 03:48:20 +00:00
Vadim Zeitlin
5b72b34401 removed OnIdle() which didn't compile any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 00:50:57 +00:00
Vadim Zeitlin
81e3be0e46 added wxHAS_ICON_LOCATION and wxHAS_CRASH_REPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 21:19:26 +00:00
Vadim Zeitlin
50bea10032 wxSEHReport renamed to wxCrashReport enhanced and debugged; seems to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 21:18:04 +00:00
Mattia Barbon
335991afa5 Move #inclusion of wx/msw/winundef.h for MinGW to afterstd.h.
Fix WX_DEFINE_TYPEARRAY assert to refer to base array's elemnt type
rather than to void*.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 20:07:45 +00:00
Julian Smart
5109ae5d17 Improvements to OnIdle processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 16:59:30 +00:00
Vadim Zeitlin
9c64071583 first version of crash reporting code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-13 02:28:11 +00:00
Julian Smart
92f1a59c28 Use WM_INITMENUPOPUP
Added wxMenu member to wxMenuEvent


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 23:09:04 +00:00
Mattia Barbon
fd82f4e6e9 Readd wxStringList::Add when wxUSE_STL=1, for compatibility with
wxUSE_STL=0. Fixed wxPathList double-free reported by Devid Elliot.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 20:34:34 +00:00
Mattia Barbon
8f520a56b7 Added and documented wxColourDatabase::AddColour.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 20:11:51 +00:00
Julian Smart
7a02658071 Added wxWinceHelpController
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 20:11:24 +00:00
Julian Smart
882dfc6753 Added net stuff, some fixes to gsock code for WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 17:58:22 +00:00
Julian Smart
09785dd38d Fixed menubar on WinCE
Removed some obsolete files


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 15:11:00 +00:00
Julian Smart
40b83d2901 Removed obsolete file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 13:39:32 +00:00
Vadim Zeitlin
29a2a24da6 fixed class/struct mismatch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 11:17:14 +00:00
Mattia Barbon
22a5055f1f Multilib linking fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 02:22:22 +00:00
Julian Smart
f07dc2e2a7 More WinCE mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 23:04:34 +00:00
Julian Smart
f1c75e0f93 Fixed some duff #ifdefs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 22:06:00 +00:00
Julian Smart
086b3a5b02 More WinCE mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 21:43:57 +00:00
Stefan Csomor
2cf38c9783 apptraits in line for carbon and mach-o
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-11 20:17:15 +00:00