Commit Graph

16126 Commits

Author SHA1 Message Date
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
Włodzimierz Skiba
810994672a Correction in comment in closing #endif. Is VC++ 4 supported?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-14 15:07:17 +00:00
Włodzimierz Skiba
0471d48650 Comment correction, source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-14 15:05:20 +00:00
Jouk Jansen
d43e302b68 Committing in .
OpenVMS updates

 Modified Files:
 	wxWidgets/setup.h_vms wxWidgets/src/generic/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-14 14:15:54 +00:00
Julian Smart
5c2f43f48f Removed unnecessary fix (caused by erroneous user code)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-14 07:26:55 +00:00
Julian Smart
238a604422 Added back shlwapi.h inclusion with comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-14 06:48:58 +00:00
Stefan Csomor
3458591994 adding support for wxCB_SORT, SetString and Insert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-14 05:15:23 +00:00
Stefan Csomor
768a499594 adding support for wxCB_SORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-14 05:13:39 +00:00
Michael Wetherell
845905d588 Move G_FILENAME_ENCODING to wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 20:05:57 +00:00
Julian Smart
45dbd8337e Look for help file in Windows if not found elsewhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 18:00:08 +00:00
Włodzimierz Skiba
1fef34b9ee OW pedantic warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 17:54:58 +00:00
Włodzimierz Skiba
ad5bb7d6a6 Sending wxChar* outputs pointer instead of text under Borland.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 17:53:28 +00:00
Włodzimierz Skiba
15cdc34149 wxStreamToTextRedirector fixes, define wxHAS_TEXT_WINDOW_STREAM.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 17:51:16 +00:00
Vadim Zeitlin
f3ebca94dd fixed tests for dashed/dotted pens under OS != NT (bug 1182319)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 16:27:05 +00:00
Vadim Zeitlin
4552892fc2 don't break of the loop resetting last focus pointer in dtor as under some (unclear) cisrcumstances more than one TLW can have a pointer to us, see bug 1179024
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 16:26:23 +00:00
Julian Smart
1d63de4a45 The device origin can be set on WinCE, so use it and redefine conversion
macros accordingly.
Also, convert result of calling GetClipBox from logical to
device coordinates since we're dealing with device coordinates at
this point.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 15:36:06 +00:00
Julian Smart
f23255165e GetCursorPos returns an error on WinCE, so use GetMessagePos instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 15:32:41 +00:00
Robert Roebling
0f6858b69e Apply Mart R.'s patch for improved font width
handling and minor doc corrections.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 13:53:19 +00:00
Robert Roebling
308a5aeb9d Correct vertical alignment for lables in static boxes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 13:46:01 +00:00
Julian Smart
3e3d05fc86 Unnecessary shwlapi.h inclusion removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 13:20:10 +00:00
Michael Wetherell
5335e9c406 Temporary compilation fix for wxUSE_INTL=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 12:39:44 +00:00
Michael Wetherell
4fdc08274b Compilo fix for wxUSE_INTL=0 and use wxCSConv for broken filenames instead of wxMBConvLibc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 12:37:53 +00:00
Stefan Csomor
4817190d09 make sure we don't miss resizes even when no sizers are involved
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 06:04:02 +00:00
Stefan Csomor
d35bd4992e fixing redraw region
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 06:02:16 +00:00
Kevin Ollivier
b4fd164d9c Adding accessor methods for URL and Title, and another revision of the window sizing hack. Tested this one with wxWidgets sample, a notebook/splitter sample, and Documancer, a wxPython app, all with correct results.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 05:12:41 +00:00
Robin Dunn
908f91bce9 Add room for the scrollbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 04:57:08 +00:00
Włodzimierz Skiba
29468083f4 Fix for using std streams when std:: conflicts with ::
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 21:08:04 +00:00