Commit Graph

16152 Commits

Author SHA1 Message Date
Robert Roebling
a8e607d963 Minor correction to the wxMenuItem::SetText() patch.
It also works under GTK 1.2.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-18 18:21:30 +00:00
Ryan Norton
7fdfc5b3a2 cleanup for wxUSE_THREADS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-18 17:09:25 +00:00
Julian Smart
de4de64f1c Added wxUSE_THREADS guards
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-18 16:32:34 +00:00
Ryan Norton
f54043c214 fix 10.2 shared builds from crashing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-17 18:39:07 +00:00
Ryan Norton
0be2eb2f9d entryName is a pascal string - need to convert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-17 16:38:31 +00:00
Julian Smart
45a2f9494e Added some reserved functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-17 15:49:27 +00:00
Julian Smart
7b6986c392 Workaround for wxUSE_STL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-17 15:30:05 +00:00
Julian Smart
7d30268cd9 Use GetCursorPos on WinCE wherever possible (otherwise the wrong
cursor is shown)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-17 14:49:34 +00:00
Vadim Zeitlin
abcb9fcff0 added missing ANSI DLL configurations (fixes VC6 crash)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-17 14:31:48 +00:00
Vadim Zeitlin
7618402ddb changed to DOS format; added tif_extension.c
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-17 14:13:49 +00:00
Ryan Norton
03271fa7a5 fix some possible crashes due to uninitialized variables - thanks to Steve Hartwell for pointing me in the right direction :). Also implement wxFileTypeImpl::GetCommands.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-17 14:08:43 +00:00
Julian Smart
bab3f3eac4 Applied patch [ 1184295 ] wxDateTimePickerCtrl Create() fix for wxDP_ALLOWNONE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-17 13:17:32 +00:00
Julian Smart
21c6080db7 Regenerated makefiles for runtime lib change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-17 12:58:24 +00:00
Julian Smart
dfc6f510c5 Fix for MGL link error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-17 12:55:39 +00:00
Julian Smart
a393f450dc Temporary wxUniv menu fix from Michael Wetherell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-17 10:06:01 +00:00
Ryan Norton
7baa887cf5 do wxLogDebug instead of wxLogSysError so that production users arn't bugged - put in implementation for (dis)associate, complete open command for carbon pre-osx builds, and do a better implementation for osx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-17 09:34:30 +00:00
Ryan Norton
1e96e5030c fix 10.2 shared unicode builds for mbstowcs and vice versa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-17 05:19:03 +00:00
Ryan Norton
204d3530fd fixed for w/o expat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 21:42:17 +00:00
Robin Dunn
f2ccce28ad Add docstrings for wxSTC methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 21:41:28 +00:00
Robin Dunn
1ce1bd84ea Added Python methods to wxStyledTextCtrl that allow to get/set text in
UTF8 in either unicode or ansi builds


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 19:41:33 +00:00
Julian Smart
95ba86d706 Improved spacing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 18:57:23 +00:00
Michael Wetherell
368bb66293 No EOVERFLOW on openbsd
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 17:13:14 +00:00
Stefan Neis
9175b26272 Fixed child positioning on window resizing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 17:00:06 +00:00
Robert Roebling
98f297837a Readded test for wxMenuItem::SetLabel() to sample.
Support for hotkeys in names functions for GTK+2.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 16:53:55 +00:00
Stefan Neis
1fd87ff764 Moved enum definition out of function body to work around compiler bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 16:03:42 +00:00
Robert Roebling
088ddc4e37 This should make the GTK statictext control wrap
and behave like the MSW. I'm still doing further
    tests.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 13:34:36 +00:00
Ryan Norton
c02af65369 clean up release unused variable warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 12:20:57 +00:00
Ryan Norton
c9e227f432 Implement wxMimeTypesManager on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 11:40:25 +00:00
Julian Smart
a9d13e1564 Added destructor to fix crash on Mac due to focus event causing
text control to be accessed while being deleted


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 11:07:30 +00:00
Julian Smart
caad76379f Applied patch [ 1178610 ] datectlg.cpp: wxDropdownButton + bug fixes
Jaakko Salli

This patch modifies datectlg.cpp's wxDropdownButton in
such manner that it should be much easier to convert it
into a generic drop button class. Also, it is now more
universal in the respect that it should work on
platforms other than wxMSW and wxGTK (wxBitmapButton
being prime prerequisite).

Plus there are some bug fixes for wxDatePickerCtrlGeneric.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 10:38:23 +00:00
Julian Smart
1152bba280 APplied patch [ 1182682 ] Fixes wxDebugReportUpload fail when app name contains spaces
by eco


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 10:16:49 +00:00
Julian Smart
3203621a92 Applied patch [ 1183153 ] [wxGTK] DrawComboBoxDropButton pressed state
Jaakko Salli


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 09:52:25 +00:00
Julian Smart
c497d0b212 Applied patch [ 1183157 ] Compilation with GCC 4.0
by Michal Cihar. Also added typedef for SQLINTEGER in built-in
iODBC.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 09:45:32 +00:00
Ryan Norton
2cbe2aead9 fix for w/o expat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 09:11:52 +00:00
Robin Dunn
41a499cd92 Add several "Raw" functions for setting/getting text from the document
buffer. They behave similarly to the same methods without the "Raw" in
the name, except they don't use wxStrings.  This can save some
conversions to/from unicode and utf-8 in a Unicode build.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 04:53:01 +00:00
Robin Dunn
382fe64041 Use a wxPopupWindow for the AutoComplete box too.
We don't need to artificially set the clipping region on wxGTK anymore.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 01:36:05 +00:00
Robin Dunn
a48cb41599 Patch #1183952, Create to return bool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-15 19:41:32 +00:00
Robin Dunn
e4f39334ab No longer a need for changing the names to protect against multiple definitions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-15 18:55:16 +00:00
Włodzimierz Skiba
9843873049 Build fix for wxUSE_FILE=0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-15 16:49:36 +00:00
Włodzimierz Skiba
452aa069dc Missing include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-15 16:48:21 +00:00
Włodzimierz Skiba
7220e45533 Simpler for readable diffs in future new ports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-15 16:47:28 +00:00
Włodzimierz Skiba
8079756869 Simpler constructor available.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-15 16:44:31 +00:00
Julian Smart
430ae62ee9 Another buffer check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-15 15:00:17 +00:00
Julian Smart
82b76851d5 Don't crash if buffer null
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-15 14:12:33 +00:00
Julian Smart
5e533062fa Fixed presumed typo - crash when frame is NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-15 07:22:33 +00:00
Robin Dunn
e2f6f8da0e Applied patch [ 1167891 ] wxNotebook display problem on MSW w/ XP theming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-15 03:11:53 +00:00
Robin Dunn
414f2513fc For wxMSW capture and release the mouse as the cursor moves out or
back in to the transient popup window to enable the transient to be
automatically dismissed when a click happens outside of it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-15 03:04:30 +00:00
Robin Dunn
4249e33407 Don't clip hidden windows from the staticbox's refresh. Also handle
non wxWindows better.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-15 03:00:15 +00:00
Julian Smart
012ce47389 Forgot to remove #endif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-14 16:04:47 +00:00
Julian Smart
f118960423 Try to find comctl32.dll version even if we don't have shlwapi.h available,
otherwise the version is wrongly guessed and we can end up with bad
toolbar backgrounds.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-14 15:12:16 +00:00