Commit Graph

1219 Commits

Author SHA1 Message Date
Vadim Zeitlin
3a7d5f7cc3 background colour of a combobox may now be set (bug 805442)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-08 00:59:23 +00:00
Vadim Zeitlin
4a6619bb4c added WM_UPDATEUISTATE and related stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 23:15:12 +00:00
Vadim Zeitlin
71e57cd650 use new style creation (MSWCreateControl() and MSWGetStyle()); adjust the drop down list height after appending/inserting/deleting items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 19:26:22 +00:00
Vadim Zeitlin
d99957b6b0 multiple fixes to wxChoice/wxCombobox height getting/setting (replaces patches 888171, 834099; fixes bug 880590)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 18:42:56 +00:00
Vadim Zeitlin
25959b956d wxURL implementation using WinInet functions under Win32 (patch 839305)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 15:28:06 +00:00
Vadim Zeitlin
b321fb12ce better leak error reporting using VC CRT (patch 828250)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 14:53:17 +00:00
Vadim Zeitlin
6e76b35d73 added wxDC::DrawPolyPolygon() (patch 882189)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-07 13:12:31 +00:00
Vadim Zeitlin
00233716e4 don't call Init() twice when dialog is created in 2 steps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-05 20:51:33 +00:00
Vadim Zeitlin
efe66bbc0e added wxTextCtrl::HitTest(); implemented it for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-04 14:56:14 +00:00
Julian Smart
3e27ea5908 Reverted last change (use of regex) that broke eVC4 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-04 12:26:20 +00:00
Václav Slavík
002ed9af83 renamed wxWave to wxSound
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-02 14:34:35 +00:00
Václav Slavík
bae90c4cd5 renamed wxWave to wxSound
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-02 13:15:51 +00:00
Mattia Barbon
584ad2a32f Added some missing STL-like wxArray/wxArrayString constructors.
Added helper class wxCArrayString, better replacement for
wxArrayString::GetStringArray.
  Added overloaded constructors and Create() methods taking
a wxArrayString for wxCheckListBox, wxChoice, wxComboBox,
wxListBox, wxRadioBox, wxSingleChoiceDialog, wxMultipleChoiceDialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 18:21:45 +00:00
Václav Slavík
ae54422d9d cleanup: all definitions missing from std headers should be in missing.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-31 14:44:46 +00:00
Julian Smart
8cc4850c2d Patch from "Viktor Voroshylo" <viktor@voroshylo.com>
src/.cvsignore : changes to ignore temorary project files
src/regex/.cvsignore : changes to ignore temorary project files for CE compiler
src/regex/regguts.h : assert will be ignored under WinCE
src/msw/button.cpp : BS_FLAT is not available under winCE
src/msw/clipbrd.cpp : changed CLIPFORMAT to wxDataFormat::NativeFormat so it will compile when ole is not included (under winCE)
src/msw/menu.cpp : GetMenuItemCount is not available under winCE. Using wxMenu::GetMenuCount in this case
src/common/regex.cpp : regex will be included under wince
include/wx/msw/wince/setup.h : wxUSE_THREADS & wxUSE_REGEX is enabled by default (as in standard windows configuration)
src/msw/wince/wxWindowsCE.vcp: fixed problem with all configurations (except emu once) do not have procompiled headers setup correctly. Changes for compiling with regex.
src/msw/wince/wxWindowsCE.vcw : added regex in workspace file


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-27 17:47:37 +00:00
Robin Dunn
9add93670b wxMenu::Append (and similar) now return a pointer to the wxMenuItem
that was added.  Checked on MSW, GTK, and Mac, other port authors
please double check changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-23 18:46:05 +00:00
Chris Elliott
446ea10731 fix for DMC missing mouse defines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-19 16:41:08 +00:00
Chris Elliott
8d8b257c4e fix for DMC missing TVS_INFOTIP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-19 15:54:05 +00:00
Julian Smart
6463b9f539 Reverted patch [ 832096 ] Final separation for GUI and console for Open Watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-15 13:49:22 +00:00
David Elliott
b2c5f143fd Added MSWPositionForWxMenu() method which is used to translate wxWindows
menu positions to the ones that Windows is using.  This mainly accounts
for the system menu in maximized MDI child frames.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-14 05:57:09 +00:00
Julian Smart
1a33ac8fb0 Applied patch [ 858324 ] Calling EndModal inside an EVT_INIT_DIALOG event handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 16:34:05 +00:00
Julian Smart
1169a91932 Applied patch [ 832096 ] Final separation for GUI and console for Open Watcom
(Watcom compiler doesn't like ctor implementation in headers)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-01-11 15:33:01 +00:00
Julian Smart
a96b4743ff Added wxUSE_POCKETPC_UI to distinguish between using
combined toolbar/menubar and using separate ones


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-28 01:07:31 +00:00
Julian Smart
504de6d140 Some further missing symbols for WinCE 4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-27 17:17:21 +00:00
Julian Smart
676d655065 Some WinCE fixes from ABX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-23 09:18:16 +00:00
Ryan Norton
34cbe514cf 1.
Added Release With Debug Info to regex.dsp

2.
Added Release Unicode With Debug Info to regex.dsp and wxWindows.dsp

3.
Converted DS's C++ comments in regcustom.h and regex.h to C

4.
Converted defs.h and all headers it includes to C from C++ by
changing all C++ comments to C and using #ifdef __cplusplus to keep out C++-specific stuff.

5.
Changed wx_wchar to #define wx_wchar wxChar instead of copying wxchar.h code in regcustom.h.

6.
Changed the macros around a bit in regcustom.h.  Originally duplicated code from wx/defs.h.  Now uses SIZEOF_WCHAR_T to get the approriate data.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-17 19:30:31 +00:00
Julian Smart
37c7aad682 Open Watcom correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-16 14:10:24 +00:00
Václav Slavík
30803ef18f compilation fix for tooltip patch code applied by Julian and w32api
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-15 21:50:56 +00:00
Václav Slavík
690201a250 compilation fix for tooltip patch code applied by Julian and w32api
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-15 21:43:59 +00:00
Dimitri Schoolwerth
ffafd8a55b Fixed notebook redraw problems when using XP theme with Classic appearance.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 22:20:22 +00:00
Julian Smart
cd2a4e161d Applied patch [ 856318 ] A few Wine fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 11:06:56 +00:00
Julian Smart
aad6765cbd Applied patch [ 828303 ] Slight wxColour cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 10:10:40 +00:00
Julian Smart
61f3e0f5c1 Applied patch [ 819044 ] Adds MSW wxPen::GetDashCount
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-12-11 07:44:53 +00:00
Julian Smart
eae4425db6 WinCE fixes from "Viktor Voroshylo" <viktor@voroshylo.com>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-18 21:25:44 +00:00
Dimitri Schoolwerth
0b3fcc0a59 Fixed wxUniv+OpenGL compilation for MSW; Cosmetic cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-11-14 12:59:03 +00:00
Vadim Zeitlin
f75aecd00f use wxColourDatabase::Find() instead of deprecated FindColour(); some minor code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-18 23:20:13 +00:00
Vadim Zeitlin
d4864e971b added ShouldInheritColours()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-16 10:00:12 +00:00
Vadim Zeitlin
6ee654b36c added LVSICF_NOINVALIDATEALL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-12 11:17:51 +00:00
Vadim Zeitlin
d5d29b8a22 renamed WX_DEFINE_ARRAY_NO_PTR in WX_DEFINE_ARRAY_PTR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-08 22:13:14 +00:00
Vadim Zeitlin
8d00896532 support creating larger minidumps; support WX_CRASH_FLAGS env var
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-29 17:14:52 +00:00
Vadim Zeitlin
0da52ad172 SetValue() takes just bool, not const bool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-28 17:51:11 +00:00
Mattia Barbon
f4998a1cc6 MinGW compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-28 13:57:52 +00:00
Vadim Zeitlin
8941fa8806 added 3-state checkboxes (patch 813790)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-28 00:23:08 +00:00
Vadim Zeitlin
dd435a79ed removed wxApp::Initialized() (replaced with a dummy version in wxApp itself); wxApp in wxGTK now uses wxEvtLoop too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-27 13:47:46 +00:00
Vadim Zeitlin
b8bdaa7c2b make it possible to give focus to the notebook itself (patch 811013)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-26 21:36:33 +00:00
Vadim Zeitlin
6f96ac03f0 added wxGzipIOStreams (patch 792932)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-26 20:24:36 +00:00
Vadim Zeitlin
89654c9a49 GetFilenames() always returned a single file only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 15:06:53 +00:00
Vadim Zeitlin
97f278b453 finally reverted patch 782947 completely, it is broken; added just a check that id returned by SetTimer() is not a dup instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 14:48:33 +00:00
Vadim Zeitlin
3bf5a59b5e pointer returned by GetNativeFontInfo() is now const and must not be deleted (replaces patch 810192)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 01:23:37 +00:00
Vadim Zeitlin
eccd199223 refactored code to create hidden window in one place only; use it from wxTimer; unregister class used by wxExecute (modified patch 782947)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 23:57:32 +00:00