Michael Wetherell
1cdab5d13a
Refresh a window's non-client area when it is resized.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-06 01:41:18 +00:00
Vadim Zeitlin
c6dcd973a5
set best fitting size for the toolbar in Realize()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-06 01:24:27 +00:00
Vadim Zeitlin
d36d1be926
don't crash in GetTextExtent() under Windows where print data is not a wxPostScriptPrintNativeData; use wxStandardPaths to find the location of AFM files instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-06 01:21:59 +00:00
Vadim Zeitlin
305561828c
initialize backing store bitmap in Create(), notebook doesn't always get a size event immediately after creation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-06 01:11:11 +00:00
Vadim Zeitlin
40d4efa81e
added explicit wx/dynlib.h include
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-05 23:16:15 +00:00
Vadim Zeitlin
0b62785c42
missing dllexport declaration added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-05 23:15:17 +00:00
Vadim Zeitlin
5bcb84f804
disable RTTI and exceptions by default for wxWinCE/eVC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-05 23:13:33 +00:00
Vadim Zeitlin
f10747d890
corrected logic in wxQTMediaEvtHandler::OnEraseBackground(): only erase it if there is no movie controller and no movie
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-05 22:54:45 +00:00
Vadim Zeitlin
908f087155
only link with 3rd party libs if they're needed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-05 22:39:57 +00:00
Vadim Zeitlin
7a64baad69
don't allow negative splitter position
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-05 22:34:24 +00:00
Vadim Zeitlin
aa200e97df
use wxDynamicLibrary::GetSymbolAorW() instead of the manual mess
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-05 22:11:23 +00:00
Vadim Zeitlin
7e41b689a7
1. extracted code common to all backends in wxMediaBackendCommonBase
...
2. don't refresh the parent on movie load/size change unless it does use
a sizer (i.e. made code follow the existing comment)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-05 22:01:48 +00:00
Vadim Zeitlin
6ab9bf57a5
fixed horrible hack with passing pointers of wrong type to Connect(), use a real event handler class as appropriate
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-05 21:27:44 +00:00
Vadim Zeitlin
4e61bf2ca1
removed unused OnPaint() handlers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-05 20:25:26 +00:00
Vadim Zeitlin
86e3091191
don't remember size passed to SetSize() as pending position/size for TLW as deferred move is not used for them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-05 17:35:38 +00:00
Chris Elliott
fa776a5809
apply SF patch 1252602 to remove warnings in bcc and watcom
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-05 15:23:38 +00:00
Vadim Zeitlin
4106cebb95
initialize send_event field of GdkEventExpose we generate (bug 1245864) (Robert, please review this if possible)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-05 11:58:13 +00:00
Vadim Zeitlin
f3cb0d85b4
compilation fix for WXWIN_COMPATIBILITY_2_2 (bug 1252476)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-05 11:48:43 +00:00
Vadim Zeitlin
9aba21ea4b
corrected wxUnix2DosFilename signature, added deprecation note
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 21:49:40 +00:00
Vadim Zeitlin
11850ff358
corrected test for __WXGTK__ (but should it be there at all?)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 21:05:49 +00:00
Vadim Zeitlin
206391cbab
corrected HAVE_NMLVFINDITEM tests, eliminated HAVE_NM_FINDITEM as it's more clear to just redefine NMLVFINDITEM in DMC case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 21:05:01 +00:00
Vadim Zeitlin
fe19000379
use ifdef, not if, to test for HAVE_WCSRTOMBS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 21:02:15 +00:00
Vadim Zeitlin
33349a2073
removed more remains of wxUSE_PENWINDOWS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 21:01:29 +00:00
Vadim Zeitlin
687809e95b
corrected test for HAVE_FSYNC: ifdef, not if
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 21:00:49 +00:00
Vadim Zeitlin
38b4a946f3
added wxUSE_DC_CACHEING
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 20:54:16 +00:00
Vadim Zeitlin
3df732cd47
removed wxUSE_MENU_CALLBACK references: the code inside the #if couldn't compile anyhow as wxFunction isn't defined in wx since quite some time now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 20:35:09 +00:00
Vadim Zeitlin
85fa5d02d8
removed (unused since quite some time) wxUSE_ITSY_BITSY
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 20:31:11 +00:00
Vadim Zeitlin
91ebae296d
removed wxUSE_PENWINDOWS (and its misspellings), it didn't work and wasn't used/defined
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 20:28:00 +00:00
Vadim Zeitlin
16f10340da
define wxUSE_MFC as 0 if it's not defined (fixes gcc -Wundef warning)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 20:21:49 +00:00
Mart Raudsepp
50aee613a3
[wxGTK2] wxTextCtrl: Implemented support for wxTEXT_ALIGNMENT_{LEFT,RIGHT,CENTRE} attributes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 14:57:10 +00:00
Julian Smart
550f38d743
More settings restored.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 14:51:40 +00:00
Julian Smart
7cfd4b0c53
Removed eVC++ project file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 14:27:33 +00:00
Mart Raudsepp
9475f9e7e1
wxFont wxMSW specific ctor first arg is a const wxSize&, not int
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 11:31:01 +00:00
Julian Smart
e7c240da70
Switched loads of settings back on
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 10:28:19 +00:00
Julian Smart
b7972e1fa8
Resolved CVS conflict
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 10:05:41 +00:00
Vadim Zeitlin
6ebeb4c721
added tests for fsync() and pthread_cleanup_push/pop()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 01:09:35 +00:00
Vadim Zeitlin
816a7358d3
test for wxHAVE_PTHREAD_CLEANUP with #ifdefs instead of testing for (never defined) HAVE_THREAD_CLEANUP_FUNCTIONS with #if
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 01:06:36 +00:00
Vadim Zeitlin
9894cc01c9
added HAVE_FSYNC and wxHAVE_PTHREAD_CLEANUP (replacing HAVE_THREAD_CLEANUP_FUNCTIONS)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 01:06:07 +00:00
Vadim Zeitlin
52ca5b5941
define wxFsync() as fsync() under Unix not as (not existing) commit()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 01:05:26 +00:00
Vadim Zeitlin
82ff64fdb7
configure defines HAVE_FSYNC, not wxHAVE_FSYNC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 01:04:17 +00:00
Vadim Zeitlin
896e226aa2
wxNEED_STRDUP was wrong tested with #if instead of #ifdef
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 00:59:42 +00:00
Vadim Zeitlin
2a5e6376f2
check that wxUSE_DATEPICKCTRL_GENERIC is defined before checking its value
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 00:34:03 +00:00
Vadim Zeitlin
2ff3507939
define wxUSE_IPV6 as 0 to avoid -Wundef warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 00:28:58 +00:00
Vadim Zeitlin
187202106f
NEED_GTK_ICON_SIZE_LOOKUP was incorrectly tested using #if instead of #ifdef
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 00:25:20 +00:00
Vadim Zeitlin
25e6c06102
due to a typo in #if condition, validation was disabled for wizard pages -- fixed now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 00:22:47 +00:00
Vadim Zeitlin
39de6d6ca1
define wxUSE_LINE_IN_LISTBOOK to avoid -Wundef warnings (but define it as 0 so thje line is still disabled by default)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-04 00:16:43 +00:00
Vadim Zeitlin
fe856cc55b
no need to check dbghelp DLL initialization in GetAssertStackTrace() explicitly any more now that wxStackWalker doesn't log an error if it failed to do it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-03 23:58:54 +00:00
Vadim Zeitlin
b3a6d2694c
don't give error message if we failed to get the stack, this doesn't mean anything to the user
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-03 23:57:00 +00:00
Vadim Zeitlin
494c7caa78
define WXWIN_COMPATIBILITY_EVENT_TYPES as 0 if it's not defined
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-03 23:44:05 +00:00
Vadim Zeitlin
498919ddcd
test for __MWERKS__ with #ifdef, not #if (fixes a -Wundef gcc warning)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-03 20:08:14 +00:00