Commit Graph

5437 Commits

Author SHA1 Message Date
Václav Slavík
ac9a3c615a moved WinMain into the application even for static build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-16 15:30:25 +00:00
Gilles Depeyrot
609533d54d applied fixes for CodeWarrior compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-16 11:58:06 +00:00
Julian Smart
12bdd77c85 Can now switch between PostScript and WIN32 print dialogs
by setting the value of wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW.
Added first part of Peter Lenhard's WinCE DrawEllipticArc
implementation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-15 10:17:14 +00:00
Vadim Zeitlin
bb0a3c4aff compilation fix for the last fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 23:00:33 +00:00
Vadim Zeitlin
d566b182a5 warning fixes for Borland
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 21:08:41 +00:00
David Elliott
cf774b6767 Stub for wxRegion::Offset
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 20:56:21 +00:00
David Elliott
448cbf1d4e Implemented toolbar/statusbar positioning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 20:34:07 +00:00
David Elliott
816c52cf7c Implemented window scrolling using wxWindowCocoaScroller
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 19:47:28 +00:00
David Elliott
d25aa543ae wxCocoa: Added NSScrollView definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 19:45:46 +00:00
Stefan Csomor
75890a3f39 xti macro fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 18:51:07 +00:00
Václav Slavík
d5b12ad9a7 wxBase compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 18:20:51 +00:00
Stefan Csomor
8acd402fb0 notebook page information objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 18:06:49 +00:00
Stefan Csomor
16a45a23d9 properties as collection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 18:03:06 +00:00
Stefan Csomor
fae7d15809 min and max setters added (xti)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 17:59:34 +00:00
Julian Smart
eb2693818c No significant changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 11:04:54 +00:00
Chris Elliott
dd54f5d305 move define to better place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 11:00:38 +00:00
Julian Smart
7de1e98d39 Removed some cruft
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 10:55:22 +00:00
Chris Elliott
50165591a5 fix bugs when compiling with dmars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 10:01:49 +00:00
Václav Slavík
b79a499394 DMC doesn't have w32api
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 09:17:45 +00:00
Chris Elliott
3e22fb88f5 dmars does not have w32api.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 08:50:10 +00:00
Chris Elliott
01fd88a0e6 remove no longer treu comment about dmars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 08:46:33 +00:00
Vadim Zeitlin
7b4d7f99a6 added wxRecursionGuard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 00:09:36 +00:00
Mattia Barbon
f96b10c283 Refactoring: no real changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 21:34:21 +00:00
Mattia Barbon
4410d619c5 wxMotif STL-ification.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 21:28:56 +00:00
Robin Dunn
5d2e69e8c0 Clear --> ClearBackground
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 21:05:39 +00:00
David Elliott
d139c3a84b Added helper functions for setting initial window size:
* inline MakeDefaultNSRect makes an NSRect with position (10.0,10.0) and
  size based on the size passed to Create run through (Width|Height)Default
  This NSRect is to be used with the initWithFrame: initializer.
* SetInitialFrameRect is called after the window has been added to its parent
  and (if applicable) sized to fit.  If -1 is specified for a dimension then
  the fit/default size is kept.  If not, the window is sized to the specified
  size. It will be positioned in wxWindows coordinates (0,0==TL).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 19:37:45 +00:00
Stefan Csomor
6056c7c6f3 collection macro also for XTI_TEMPLATE_FIX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 17:56:14 +00:00
Stefan Csomor
ab6e491366 collection support for XTI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 16:59:46 +00:00
Stefan Csomor
8143581bdc make this along the vc 7.1 exception as beforestd
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 16:57:47 +00:00
Vadim Zeitlin
596f1d1160 renamed wxWindow::Clear() to ClearBackground() for wxGTK as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 16:47:43 +00:00
David Elliott
b93d8cc460 Don't send idle events while an assertion dialog is showing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 15:25:34 +00:00
Vadim Zeitlin
5da0803c15 renamed wxWindow::Clear() to ClearBackground() (fixes bug 783576)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 14:09:45 +00:00
Vadim Zeitlin
4f6e963caf suppress warnings about not being able to inline a function under BC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 10:09:09 +00:00
Mattia Barbon
8142d70447 Added wxHashSet, with minimal tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-12 16:45:09 +00:00
David Elliott
a82b814137 Laid groundwork for scrolling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-12 02:58:04 +00:00
Mattia Barbon
72eef31646 Expose GetCount when wxUSE_STL=1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-11 16:48:07 +00:00
Julian Smart
e28c2d151b wxCaretSuspender only shows the caret if it was visible previously
Improved caret handling in wxTextCtrl
Restored scrollbar painting in wxUniv


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-11 16:33:56 +00:00
David Elliott
f07c570112 Replaced id with winid so it doesn't conflict with the Objective-C type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-11 15:14:37 +00:00
David Elliott
2d6c4e485c Added default implementation for drawRect and mouse events that returns
false so normal processing will take place.  Some users of wxCocoaNSView
may not wish to implement every event.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-11 13:47:50 +00:00
Stefan Csomor
2d51f067b9 added wxDynamicObject (kind of delegate, docs to come once this has calmed down)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-11 10:01:02 +00:00
Vadim Zeitlin
04857cb707 added version checking to the renderers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-10 15:51:30 +00:00
Václav Slavík
f48eebbc62 check if we are using compatible C++ ABI when usin GCC or IntelC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 20:23:25 +00:00
Václav Slavík
1202890513 added support for gcc precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:38:21 +00:00
Stefan Csomor
31478355f8 define WX_XTI_TEMPLATE_FIX in case it is not yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 08:33:40 +00:00
Stefan Csomor
438edbc0bd added flag for broken compilers with regard to templated getters/setters resolution, so that we can test easily whether it's still needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 08:19:00 +00:00
Stefan Csomor
10da6a8fa4 exposing the dynamic event table
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 08:17:07 +00:00
Robin Dunn
0c8392cac2 Added wxRTTI for the new wxVScrolledWindow, wxVListBox, and
wxHtmlListBox classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-08 21:23:33 +00:00
Stefan Csomor
aa8d7c2f9b xti expansions, streaming code changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-08 20:35:19 +00:00
Julian Smart
47cd661014 Call base OnInternalIdle
Use wxUniv textctrl implementation in wxX11


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-08 19:39:16 +00:00
David Elliott
ab13160e71 * When cloning the ref data, copy the NSBitmapImageRep instead of retaining it
* Added SetNSBitmapImageRep so that wxMemoryDC can update the contents by
  replacing the entire NSBitmapImageRep.
* Added ability to create bitmaps from width/height


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-08 14:49:53 +00:00