Commit Graph

1205 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
3a9fa0d6b5 added wxTextCtrl::MarkDirty()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 00:09:18 +00:00
Vadim Zeitlin
da0f19f8a8 cleanup: derive wxGauge from wxGaugeBase; removed redundant code from Create() (use base class methods instead); implemented MSWGetStyle() and GetBestSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 12:31:58 +00:00
Vadim Zeitlin
f607434a0f check the radio buttons when they get focus (closes 777500)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-21 15:09:13 +00:00
Vadim Zeitlin
7411f983f1 wxTextCtrl::GetValue() lost (replaced with question marks) all characters not in the current encoding -- but now it shouldn't
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 22:21:48 +00:00
Julian Smart
8a39593ebe Applied patch [ 808050 ] fixes for WXUNIVERSAL and UNICODE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 14:03:09 +00:00
Julian Smart
f7d4537c2b Added wxUSE_EXCEPTIONS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 12:03:04 +00:00
Vadim Zeitlin
6757b5e31c fixed modal dialogs after event loop change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-16 12:30:34 +00:00
Vadim Zeitlin
1bf77ee556 use wxEventLoop in wxApp under wxMSW; factored out common code from wxX11/wxMotif/wxMGL to wxAppBase; changed wxApp::Dispatch() return type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 19:48:16 +00:00
Vadim Zeitlin
4199367e9c added wxUSE_EXCEPTIONS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 13:00:34 +00:00
Julian Smart
419430a0c0 WinCE bitmap patch from Johannes Schindelin <Johannes.Schindelin@gmx.de>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 08:55:19 +00:00
Vadim Zeitlin
5db8d758b8 fixed GetItemSpacing() inconsistency by deprecating the old function and adding a new, easier to use, overload
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-14 16:06:27 +00:00
Vadim Zeitlin
11ebea162a added wxListCtrl::GetViewRect()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-14 15:58:41 +00:00
Julian Smart
0e4acbd463 Applied patch [ 794760 ] Majority of "... hides virtual function ..." removal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 09:58:31 +00:00
Vadim Zeitlin
521e585ff1 added LVM_SETUNICODEFORMAT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-10 15:06:44 +00:00