George Tasker
b26e2b55ca
[SF#851487] wxDb::Catalog() function was attempting to determine if the table that was being accessed was different than the last table being accessed BEFORE the table name of the current table was read in, causing an issue when more than one table was present in the database
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 16:49:49 +00:00
George Tasker
35ac11045c
Indentation formatting fix. No source code affected
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 16:47:17 +00:00
George Tasker
76ea166498
Use of blobs with a binding to a SQL_C_BINARY type column definition was not working correctly. The code should now work for SQL_C_BINARY and SQL_C_CHAR column bindings, though I have only tested with SQL_C_BINARY. The original code will be used if the column binding is not SQL_C_BINARY or SQL_C_CHAR
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 14:22:25 +00:00
George Tasker
d2129c82bf
The wxDb::Open() function that takes a wxDbConnectInf() now has a second optional parameter 'failOnDataTypeUnsupported' that defaults to TRUE to maintain current behavior. This allows users to specify FALSE if they want to try to continue
...
wxDb::getDbInfo() function will now not treat SQL_SUCCESS_WITH_INFO as a failure when checking for supported features.
Reformatting of some text, and removal of old commented out code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 14:10:27 +00:00
Julian Smart
ace1785b15
Added window styles to wxToolBar handler.
...
Allow wxScrolledWindow to have children.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-12 09:08:36 +00:00
Robin Dunn
e70457844a
Fixed compile warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 23:03:15 +00:00
Julian Smart
f0003d294a
wxDocMDIParentFrame needs a default constructor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 14:35:51 +00:00
Stefan Csomor
f83b67612b
added correct (structure instead of content) bounds for window creation also
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 13:17:56 +00:00
Kevin Ollivier
5f254b1f3c
Restore proper set and kill focus handling for user pane controls under wxMac.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-11 05:26:24 +00:00
Robin Dunn
313feadc84
Add GetOwner accessor and fix wxRTTI inheritance for wxTimer. Set the
...
timer as the event object in wxTimerEvents.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-10 20:53:25 +00:00
Julian Smart
ae360bed6e
Don't show wrong shade of grey when disabled
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-10 10:53:53 +00:00
Vadim Zeitlin
bf5d9fa4ea
fixed wxFileDataObject in Unicode build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-09 18:52:43 +00:00
Julian Smart
7d59475e80
Fixed size problem due to wxMac window implementation difference
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-09 16:30:26 +00:00
Stefan Neis
76d81b4d11
Applied patch [ 929275 ] [wxOS2] Missing title bars.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-09 14:38:45 +00:00
Julian Smart
9da483994b
Blind fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-09 12:45:50 +00:00
Václav Slavík
e6cea1d392
corrected wxLANGUAGE_CHINESE to use same default as win32 (Taiwan)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 22:16:01 +00:00
Mattia Barbon
7d7baa9b3d
Remove duplicate definition caused by last commit.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 21:15:54 +00:00
Mattia Barbon
bdcade0a10
When wxUSE_STL == 1 and STL provides quasi-standard hash_map/hash_set,
...
wxHashMap/wxHashSet are just typedefs for them. This makes impossible
to forward declare these classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 20:20:24 +00:00
Julian Smart
006271980f
Added missing textctrl.h include
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 15:41:41 +00:00
Stefan Csomor
d058c15324
DataBrowserBased CheckList implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 14:02:18 +00:00
Stefan Csomor
e4727773a6
connecting the currently focused text control to the mac os services (Services Menu)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 12:43:29 +00:00
Stefan Csomor
a9fc5eec8b
scrolling to selection
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 12:41:45 +00:00
Mattia Barbon
40ad34262a
wxUniversal compilation fix. The fix is ok because this ash
...
is a wxMSW data structure, and can only contain wxMSW windows.
Compilation tested with and without wxUniversal and with and without
WXWIN_COMPATIBILITY_2_4.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 10:19:14 +00:00
Vadim Zeitlin
824a614c4e
removed HandleSysCommand() and don't generate duplicate events for frame maximization/iconization
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 10:05:33 +00:00
Mattia Barbon
62cdd7d3f8
CHM help is not compiled for wxUniversal.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 09:38:14 +00:00
Mattia Barbon
6aa33060cd
Fix for pure virtual method call caused by wxHashTable not
...
overriding virtual destructor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 09:33:29 +00:00
Dimitri Schoolwerth
3a3c86031d
removed tab characters; minor code cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 00:51:34 +00:00
Dimitri Schoolwerth
602e4c15ff
don't repaint window if hidden: reduces flickering of hidden windows which change position (resulting in a repaint) due to for example sizer code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-08 00:45:38 +00:00
Vadim Zeitlin
efd17a1d4f
split wxUSE_MDI from wxUSE_MDI_ARCHITECTURE (which is wxUSE_MDI + wxUSE_DOCVIEW)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-07 22:17:29 +00:00
Vadim Zeitlin
adc39ef20c
don't define DestroyClippingRegion() any more but simply use the base class version
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-07 22:16:15 +00:00
Vadim Zeitlin
af4954790b
don't add WS_VISIBLE to all windows style (replaces patch 948992)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-07 22:15:04 +00:00
Chris Elliott
34e8f09728
fix for motif /scintilla bugs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-07 16:11:22 +00:00
Dimitri Schoolwerth
4b17d2e361
applied patch #931719 : "ESC closes dialog instead of combobox dropdown" (closes patch #931709 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-07 10:46:19 +00:00
Stefan Csomor
4da39c9646
fixed menu item numbering to mac convention
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-07 08:01:33 +00:00
Robin Dunn
d3b5db4b25
SetInitialBestSize changes for wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-07 04:31:12 +00:00
Dimitri Schoolwerth
bb17155103
fixed bug #947908 : wxString("abcdefghij", wxConvLibc, n) returns an empty string for every n>0 and n<string length (Unicode mode only)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-07 01:59:28 +00:00
Dimitri Schoolwerth
3f927d5023
fixed unused variable warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 23:47:14 +00:00
Robin Dunn
944b1f5e17
Don't #include the extra files unless we need them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 21:40:49 +00:00
Robin Dunn
e1d1f4bd99
moved #define to before it is used
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 21:15:06 +00:00
Robin Dunn
9950649c8d
Use wxVisualAttributes (#if'd out until tested further)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 21:02:19 +00:00
Robin Dunn
35d4c96744
Use wxVisualAttributes (partially #if'd out until tested further.)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 21:01:24 +00:00
Robin Dunn
16190e2a11
Oops, forgot to cleanup some commented-out code before last commit.
...
Setting attributes seems to work okay on both multiline and single
line widgets for both wxGTK and wxGTK2, so don't disable it for
multiline.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 17:33:09 +00:00
Robin Dunn
9d522606d0
Get(Class)DefaultAttributes() for wxGTK controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 17:26:25 +00:00
Vadim Zeitlin
3cfd077ff8
don't create artificial alpha channel for all bitmaps (patch 949221)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 14:52:55 +00:00
Vadim Zeitlin
f67fe9a423
compilation fix for older compilers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 07:17:15 +00:00
Vadim Zeitlin
35ef537b2f
warning fix for BSD
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-06 07:02:01 +00:00
Vadim Zeitlin
044fe836c1
call InitDialog() before showing the dialog, not after; also TRUE -> true
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-05 22:46:57 +00:00
Vadim Zeitlin
395b914eae
oops, added missing const_cast to make last check in compile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-05 22:45:26 +00:00
Vadim Zeitlin
d16b634fa3
use ResetClipping() instead of simply setting m_clipping to false; added call to it to wxDCBase::DestroyClippingRegion() so that some ports don't have to define their own version of it at all
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-05 22:43:57 +00:00
Vadim Zeitlin
2e76da5450
made GetClippingBox() work even for clipping region (pre)set by Windows and not only for clipping regions set using our own SetClippingXXX() functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-05 22:41:54 +00:00