Paul Cornett
be33a1c726
sizeof(char) is 1. By definition.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 03:41:37 +00:00
Vadim Zeitlin
a757b4a725
fix extra comma at the end of wxStretch enum introduced by last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 14:31:04 +00:00
Vadim Zeitlin
39b61aa3eb
removed WXWIN_COMPATIBILITY_2_4 in non-MSW code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 11:48:53 +00:00
Václav Slavík
c3a58b249e
enable wxFontMapper in wxDFB port
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-22 14:05:07 +00:00
Mart Raudsepp
4db88d421b
[GTK] Do not define *_DEPRECATED macros for the gtk+ stack in preparation of a stable wx release, as we can not
...
know what functions become deprecated in future releases of gtk+ and co, while the stable wx release should last
the test of time.
We could do some preprocessor magic to automatically define the macros only for development releases (whose minor
version number is odd, not even), but as the releases is close, don't do this at this point, as some compilers
might not like the initial try. I will bring these macros back to HEAD, together with the automation, once 2.8
branches.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-29 04:10:36 +00:00
Vadim Zeitlin
edff6201ce
rearrange tests for long long again to avoid clashes with SIZEOF_LONG_LONG defined by other packages
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 15:21:33 +00:00
Vadim Zeitlin
1e0e7f7d0e
define wxTC_MULTILINE explicitly as wxNB_MULTILINE is not necessarily defined where it is used (e.g. msw/tabctrl.cpp); change the value of wxTC_OWNERDRAW to avoid conflict with wxTC_MULTILINE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:47:16 +00:00
Vadim Zeitlin
5a70d3f578
remove just added wxCoordRound() (see patch 1586499)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:34:25 +00:00
Vadim Zeitlin
89fd8148ce
define wxLongLong_t as long long if it is supported, only fall back to long otherwise as we want to be able to pass wxLongLong_t to the standard C99 functions working with long long
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 11:29:56 +00:00
Julian Smart
82972e922e
Don't use wstring for MinGW versions that don't support it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 07:04:07 +00:00
Julian Smart
6445acc783
Applied patch 1586499: wxCoordRound function
...
Centralises rounding and adds nearest-value rounding to
prntbase.cpp.
by Robert J. Lang
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 17:01:34 +00:00
Vadim Zeitlin
ea960ae8af
no changes, just a typo in comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 16:39:45 +00:00
Vadim Zeitlin
90c0f63a83
define bookctrl (and -derived) classes flags in their headers instead of defs.h; don't deprecate the control-specific flags
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 09:16:41 +00:00
Stefan Neis
28206ce84e
Use system colours for ownerdrawn highlighting (patch #1555426 ).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 21:30:36 +00:00
Mattia Barbon
3e0071d949
Fix buffer overrun in Linux/x86_64 (Pixel is a 64 bit long, passing
...
a 32 bit int pointer to XtVaGetValues will cause trouble). Using a long
should suffice. A configure test would be better.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 19:34:25 +00:00
Vadim Zeitlin
cdd8d745c4
move wxSTRINGIZE and other preprocessor helpers to wx/cpp.h to fix version.rc compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 14:55:06 +00:00
Václav Slavík
74be7431f3
moved wxSTRINGIZE to defs.h and made it work with macro argument, so that it can be used elsewhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-29 12:37:31 +00:00
Robert Roebling
fe8635a7e7
Applied wxGauge:Pulse() patch.
...
[ 1551409 ] Support for indeterminate mode gauges
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 13:36:54 +00:00
Robert Roebling
ee0a94cfc2
Commited FRM's stockitem patch (empty stock items).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-03 12:23:04 +00:00
Václav Slavík
b3c861501a
initial (not yet working) code for DirectFB port
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 09:42:42 +00:00
Michael Wetherell
ac55e0a1a8
Avoid warnings from VC++ 5.0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-16 12:17:05 +00:00
Vadim Zeitlin
8bb6b2c057
wxPlatformInfo (patch 1532064)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 21:00:32 +00:00
Vadim Zeitlin
e63f19ba93
Added wxID_PAGE_SETUP standard id
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-10 00:14:55 +00:00
Vadim Zeitlin
7ce6cc9b8e
unified wxFRAME_EX_CONTEXTHELP and wxDIALOG_EX_CONTEXTHELP in a single wxWS_EX_CONTEXTHELP and changed its value to avoid conflict with wxWS_EX_TRANSIENT (this resulted in all progress dialogs having useless context help button in their title bar)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-06 12:56:48 +00:00
Vadim Zeitlin
55b43eaa02
undid last change and removed wxTE/CB_FILENAME style, after looking at GTK+ API it seems that this is not the correct way to do this
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 11:10:53 +00:00
Vadim Zeitlin
ef43e62e77
reverted the move of wxComboBox styles from wx/defs.h to wx/combobox.h, a lot of existing code (including wxChoice implementation inside wx itself) uses these styles without including wx/combobox.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-30 20:04:10 +00:00
Vadim Zeitlin
5f6475c145
moved combobox styles from defs.to to combobox.h; added wxTE/wxCB_FILENAME styles (MSW only for now); show them in the widgets sample and use for file/dir pickers text controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 19:19:50 +00:00
Vadim Zeitlin
40f5126298
added wxID_HELP_INDEX/SEARCH (part of request 1404089)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:06:43 +00:00
Włodzimierz Skiba
9a6384ca1e
Improvements for building minimal builds and new ports: wxUSE_* usage and minor cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 11:25:30 +00:00
Vadim Zeitlin
ec376c8fd9
added wx{Colour|File|Dir|Font}PickerCtrl (patch 1472329 by Francesco)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-31 23:57:54 +00:00
Vadim Zeitlin
ff3e84ffdc
File/dir dialog styles and other changes (patch 1488371):
...
- check invalid combinations of styles in wxFileDialogBase::Create()
- use wxFD_XXX naming convention for wxFileDialog styles
- replaces wxDD_NEW_DIR_BUTTON with wxDD_DIR_MUST_EXIST
- removes #ifdef __WXGTK24__ / #endif blocks from wxGTK code
- removes wxFileDialogBase::Get/SetStyle and wxFileDialogBase::m_fileName
- renames wxDirDialogGTK to wxDirDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:32:12 +00:00
Paul Cornett
add7cadd99
scrollbar handling simplification
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 04:54:13 +00:00
Vadim Zeitlin
141d782d56
misc fixes for wxDirDialog; new wxDD_CHANGE_DIR flag (patch 1478051)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-06 20:10:11 +00:00
Julian Smart
230c90774f
Easier platform testing class and function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 17:40:13 +00:00
Vadim Zeitlin
4c82058341
don't redefine _CRT_SECURE_NO_DEPRECATE and _CRT_NON_CONFORMING_SWPRINTFS if already defined (patch 1463364)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-08 22:58:54 +00:00
Stefan Csomor
66bc84a900
ellipsis support for static text (mac), applied patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-08 15:32:18 +00:00
Mart Raudsepp
042bcad45e
Add GDK_PIXBUF_DISABLE_DEPRECATED, it should build with it now. Will keep an eye on the tinderbox at a reasonable
...
interval.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-04 19:34:38 +00:00
Włodzimierz Skiba
8e13c1ec4e
Make wxPASSWORD and wxPROCESS_ENTER really deprecated.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 11:02:37 +00:00
Włodzimierz Skiba
faa94f3ec8
Final and global PRIOR/NEXT change: keep consistency using only PAGE versions, deprecate old ids, remove rest of build problems with case statemets.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-27 12:25:17 +00:00
Robin Dunn
5bd24f7242
Make WXK*PRIOR and WXK*NEXT be aliases for WXK*PAGEUP and WXK*PAGEDOWN
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 04:14:29 +00:00
Jouk Jansen
bbc8b0ee18
Committing in .
...
Updates to make OpenVMS happy
Modified Files:
wxWidgets/setup.h_vms wxWidgets/include/wx/defs.h
wxWidgets/src/gtk/choice.cpp wxWidgets/src/gtk/descrip.mms
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-22 07:47:22 +00:00
Mart Raudsepp
6ebf3215ff
wxGTK2: Declare GTK_DISABLE_DEPRECATED in defs.h. I will be monitoring the tinderbox, and think on how to rearrange
...
the declarations and inclusions related to this.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-20 21:34:42 +00:00
Michael Wetherell
8d7eaf9140
Warning fixes for VC5 (Igor Korot)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-12 12:16:56 +00:00
Vadim Zeitlin
216a72f3b9
added support for 64 bit ints in wx stream classes (patch 1203970)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 16:51:34 +00:00
Mart Raudsepp
761a108c3b
wxGTK2 compiles fine with {G,PANGO}_DISABLE_DEPRECATED. Define them to catch deprecated function usage for older
...
glib/pango versions and/or other systems. Is there a better place for this than defs.h?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-03 21:27:04 +00:00
Julian Smart
163570537b
Suppress VC++ 2005 deprecation warnings (for now)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 13:15:47 +00:00
Vadim Zeitlin
b47f1f95f3
added wxSUPPRESS_GCC_PRIVATE_DTOR_WARNING macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 16:31:19 +00:00
Włodzimierz Skiba
6d3d756a6a
Macros for simplified testing Open Watcom version and required tweaks.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-10 16:16:05 +00:00
Vadim Zeitlin
e710277282
added wxKeyEvent::GetModifiers()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-10 11:59:47 +00:00
Michael Wetherell
c8d5853155
Add rcdefs.h and support for automatic manifests on Windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-08 22:49:46 +00:00