Commit Graph

28130 Commits

Author SHA1 Message Date
Vadim Zeitlin
e2478fde62 wxBase/GUI separation: 1st step, wxMSW should build, all the rest is broken
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 00:56:19 +00:00
Václav Slavík
63dfd606ed compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 22:32:21 +00:00
Mattia Barbon
a49686b4c2 Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 21:06:18 +00:00
Vadim Zeitlin
fbae49eedf use __VISUALC__ instead of _MSC_VER to avoid problems with CW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 16:04:09 +00:00
David Elliott
ef3e4a2c81 Added #if wxUSE_SLIDER guard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 15:49:11 +00:00
David Elliott
c41b649631 Added #ifdef wxHAS_TASK_BAR_ICON guard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 15:17:41 +00:00
Vadim Zeitlin
da0766ab2a GetIcon() returns wxIconLocation, not wxIcon, now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 13:49:24 +00:00
Julian Smart
80185c6ceb Implemented wxTextCtrl::GetStyle for MSW
Added status bar showing major style attributes at cursor in text sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 13:14:42 +00:00
Vadim Zeitlin
55f9f0cbc8 support Show() in wxFlexGridSizer (patch 737850)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 22:08:13 +00:00
Vadim Zeitlin
1b1ca07a70 set selection before setting focus to the control in SetFocusFromKbd() (patch 726361)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 21:56:43 +00:00
Vadim Zeitlin
e1720942b0 fix VC 7.x release build problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 16:13:47 +00:00
Vadim Zeitlin
636773ddad temp fix for link errors after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 15:44:31 +00:00
Vadim Zeitlin
55d0aaa372 updated after wxFileType change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 00:22:39 +00:00
Mattia Barbon
3ec4107dfc Add a missing structure definition, move all rich text missing
stuff to wx/msw/missing.h.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 20:09:14 +00:00
Vadim Zeitlin
7c0720183f don't disable hidden windows in wxWindowDisabler, it's at best useless
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 17:45:14 +00:00
Vadim Zeitlin
376ccc457c removed Win16 horrors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 17:38:55 +00:00
Vadim Zeitlin
6feaaaedd6 removed datacmn, not a base file any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 14:09:20 +00:00
Vadim Zeitlin
c07f134693 removed datacmn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 14:08:14 +00:00
Robert Roebling
21b07f95d0 Small fix for splitter window.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 14:07:16 +00:00
Vadim Zeitlin
aaf7ab431b added wxIconLocation; minor fixes to wxIcon on some platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 13:39:40 +00:00
Stefan Neis
75f7af39d1 Reverted patch [ 746201 ] (partially) because of unwanted side-effects
to grids with 0 rows _or_ 0 columns.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 08:40:06 +00:00
Gilles Depeyrot
c5990c0034 corrected return value of wxTimer::Start when timer is successfully created
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-20 20:48:17 +00:00
Václav Slavík
2269ff5679 fix one of reasons for crash if there is no font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-20 20:20:16 +00:00
Julian Smart
e00a5d3ca1 Extended wxTextAttr and added wxTextCtrl::GetStyle stub
allow better rich text support.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-20 16:25:31 +00:00
Vadim Zeitlin
f561a4e09c removed redundant wxUSE_GUI checks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 23:43:01 +00:00
Vadim Zeitlin
a434b43fd4 added wxIsDebuggerRunning() (which is going to replace the mess in log.cpp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 23:31:19 +00:00
Václav Slavík
53fef662b8 quick and dirty fix for wxMGL compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 22:33:00 +00:00
David Elliott
a1725a7205 Added slider.h/slider.mm to wxCocoa build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 22:18:12 +00:00
David Elliott
bfddb9239f Missed a few substitutions the first time around
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 22:16:22 +00:00
David Elliott
2ec55dc0be Added wxSlider stub
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 22:09:27 +00:00
David Elliott
bec1ace627 wxCocoa does not have wxDialog::OnPaint()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 22:06:24 +00:00
David Elliott
bfec7058d4 Added return NULL; for __WXCOCOA__
FIXME: The platform specific stuff is a real mess


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 21:32:16 +00:00
David Elliott
fc56dc1202 Changed colour.cpp to colour.mm
Also, generated files.lst now has fdlgcmn.cpp included


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 21:30:14 +00:00
David Elliott
683b185d01 First stab at wxColour using NSColor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 21:24:10 +00:00
Robert Roebling
7b14c561d9 Font crash and timer fix as per 2_4.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 19:06:06 +00:00
David Elliott
3fdac2ab39 In wxApp::OnIdle() check to see if there is not a current menubar and if
there is a common menubar, install it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 18:20:26 +00:00
David Elliott
1b1d2207ea Add ability to have a wxMenuBar as a common menu
- static wxMenuBar::MacSetCommonMenuBar()
- static wxMenuBar::MacGetCommonMenuBar()
- static wxMenuBar::s_macCommonMenuBar;


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 18:17:33 +00:00
Vadim Zeitlin
523c2b8d45 fixed infinite recursion bug in some rare cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 16:55:15 +00:00
Vadim Zeitlin
9f522551db wxUniv compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 09:43:19 +00:00
Chris Elliott
1997b8ba19 fix making base for Borland
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 09:21:07 +00:00
Chris Elliott
572affa49c fix making base for watcom (lib\base and console sample now compile)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 08:13:00 +00:00
Chris Elliott
40bed4b61b fix making base for watcom (lib\base and console sample now compile)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 08:05:26 +00:00
Vadim Zeitlin
32013d27f6 detect EOF better when reading HTTP reply
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 22:09:09 +00:00
Vadim Zeitlin
3cac31513f removed unnecessary #if wxUSE_GUIs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 21:49:40 +00:00
Vadim Zeitlin
c631d59053 removed deprecated ConvertToBitmap() and wxImage(wxBitmap) ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 21:38:29 +00:00
Václav Slavík
017b6a0d40 make it possible to not attach toolbars to frames (John Anderson)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 16:17:54 +00:00
Chris Elliott
3eb14b8c98 fix perl commands for makefile.sc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 12:59:17 +00:00
Chris Elliott
7d5848668d fix DMars compilation to use precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 12:09:16 +00:00
Julian Smart
3b13683cad Workaround a crash bug; real solution as yet unknown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 07:41:24 +00:00
Vadim Zeitlin
9ad19a2bde removed a now unnecessary line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 00:42:39 +00:00