Search found 113 matches
- Tue Dec 29, 2020 7:14 pm
- Forum: C++ Development
- Topic: How to move a wxAuiNotebook page (after splitting)
- Replies: 1
- Views: 319
Re: How to move a wxAuiNotebook page (after splitting)
This code here solved: class VediDBDLLEXPORT VediDBBook : public wxAuiNotebook { public: VediDBBook(); VediDBBook(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxAUI_NB_DEFAULT_STYLE); ~VediDBBook(void); v...
- Tue Dec 29, 2020 4:31 pm
- Forum: C++ Development
- Topic: How to move a wxAuiNotebook page (after splitting)
- Replies: 1
- Views: 319
How to move a wxAuiNotebook page (after splitting)
Dear all, I split a wxAuiNotebook, but I seem to be able to do the split only on one page of the notebook, not on, say, two or three. This is what I'm doing: m_notebook->Split(1, wxTOP); So the first page goes on the upper window after the split. Then I'd like to move page 0 to the top window on the...
- Fri Apr 14, 2017 11:25 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Error C2993 when exporting a template
- Replies: 2
- Views: 1249
Re: Error C2993 when exporting a template
Uh, yes, first thing I've done was.googleing it, but I couldn't figure out a key that would have given the result you kindly provided.
Thanks, BR,
Max.
- Fri Apr 14, 2017 3:45 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Error C2993 when exporting a template
- Replies: 2
- Views: 1249
Error C2993 when exporting a template
Hi all, Does anybody know why #define VediDBDLLEXPORT __declspec(dllexport) ... template <class VediDBDLLEXPORT T> void SortIt(dba::Database::StoreType type, int col){ ... Should give Error C2993 'T': illegal type for non-type template parameter 'T'? I used to compile on VS2010 and worked, now on VS...
- Wed Apr 12, 2017 3:56 pm
- Forum: C++ Development
- Topic: wxGrid::GetRows() Doesn't exist anymore??
- Replies: 1
- Views: 900
wxGrid::GetRows() Doesn't exist anymore??
Did they kill wxGrid::GetRows() somewhere in between wxWidgets-3.0.2 and wxWidgets-3.1.0? Should we use GetNumberRows() instead?
- Wed Apr 12, 2017 3:40 pm
- Forum: C++ Development
- Topic: wxGrid::SetCellValue parameters changed??
- Replies: 1
- Views: 724
wxGrid::SetCellValue parameters changed??
Hi all,
Can you please confirm that void SetCellValue( const wxString& s, int row, int col ); got changed to void SetCellValue( int row, int col, const wxString& s ); somewhere in between wxWidgets-3.0.2 and wxWidgets-3.1.0??
That is *SO* annoying!
Thanks, BR,
Max.
Can you please confirm that void SetCellValue( const wxString& s, int row, int col ); got changed to void SetCellValue( int row, int col, const wxString& s ); somewhere in between wxWidgets-3.0.2 and wxWidgets-3.1.0??
That is *SO* annoying!
Thanks, BR,
Max.
- Wed Apr 27, 2016 4:37 pm
- Forum: C++ Development
- Topic: How to Improve wxGrid performance
- Replies: 3
- Views: 5651
Re: How to Improve wxGrid performance
It has been some time ago, but I think we discussed something similar once before. Did you see this thread ... https://forums.wxwidgets.org/viewtopic.php?f=1&t=39113 I think to get good performance the answer was to avoid wxGridCellAttr and also to use wxGridUpdateLocker. That was just part of ...
- Tue Mar 22, 2016 11:22 am
- Forum: C++ Development
- Topic: How to Improve wxGrid performance
- Replies: 3
- Views: 5651
How to Improve wxGrid performance
Dear all, I've profiled my app, which is using wxGrid directly, without deriving wxGridTableBase nor wxGridCellAttrProvider. I'm querying a database and trying to show a table with 50+ columns and 2000+ rows, and it's very slow. The profiler shows that of 67854 samples, the 56,99% (38670) is spent i...
- Tue Mar 22, 2016 10:34 am
- Forum: C++ Development
- Topic: wxGrid::AutoSizeColumn kills my performances
- Replies: 3
- Views: 916
Re: wxGrid::AutoSizeColumn kills my performances
So I was debugging the thing and found that it was spending oh so much time in a loop to auto size all the columns, becouse I've seen that wxGrid::AutoSizeColumn calls wxGridCellAttrProvider::GetAttr for every and any cell of the column. Is this a known issue? How else should it do it? It has to it...
- Mon Mar 21, 2016 2:37 pm
- Forum: C++ Development
- Topic: wxGrid::AutoSizeColumn kills my performances
- Replies: 3
- Views: 916
wxGrid::AutoSizeColumn kills my performances
Dear all, I've a very big wxGrid, around 50 columns and more than 2000 rows, don't ask me why that many columns, clients are crazy, right? And I also have a functionality to show/hide columns, but still there are tenth of shown columns and, in general, all could be shown together. So I was debugging...
- Mon Mar 14, 2016 7:09 pm
- Forum: Compiler / Linking / IDE Related
- Topic: wx_vc10 DLL Release has debug info??
- Replies: 3
- Views: 1099
Re: wx_vc10 DLL Release has debug info??
Dear all, I just had to recall what does it mean Runtime Library... I googled it and understood what had I forgot, it's just whether do you link against msvcrt.dll "Multi-threaded DLL (/MD)" or msvcrt.lib "Multi-threaded (/MT)". Of course if wxWidgets are linked to msvcrt.dll, y...
- Mon Mar 14, 2016 4:21 pm
- Forum: Compiler / Linking / IDE Related
- Topic: wx_vc10 DLL Release has debug info??
- Replies: 3
- Views: 1099
Re: wx_vc10 DLL Release has debug info??
Dear all, I just had to recall what does it mean Runtime Library... I googled it and understood what had I forgot, it's just whether do you link against msvcrt.dll "Multi-threaded DLL (/MD)" or msvcrt.lib "Multi-threaded (/MT)". Of course if wxWidgets are linked to msvcrt.dll, yo...
- Mon Mar 14, 2016 3:36 pm
- Forum: Compiler / Linking / IDE Related
- Topic: wx_vc10 DLL Release has debug info??
- Replies: 3
- Views: 1099
Re: wx_vc10 DLL Release has debug info??
Dear all, I recompiled wxWidgets 302 without the debug info, but looks like that wasn't the issue. I did go in my application and set Runtime Library to "Multi-threaded DLL (/MD)" instead than Multi-threaded (/MT) and it started to work. But why that? I mean I'm compiling an .exe, not a DL...
- Mon Mar 14, 2016 2:54 pm
- Forum: Compiler / Linking / IDE Related
- Topic: wx_vc10 DLL Release has debug info??
- Replies: 3
- Views: 1099
wx_vc10 DLL Release has debug info??
Dear all, I just noticed that the copy of wxWidgets3.0.2 I downloaded has "generate debug info" set to Yes in configuration DLL Release. Is that normal or do I have to suppose it's been me who unadvertedly set it? Actually I'm using the DLLs obtained out of it in a project of mine that com...
- Thu Mar 10, 2016 5:10 pm
- Forum: C++ Development
- Topic: wxgrid avoid text overlap next cell
- Replies: 2
- Views: 1044
Re: wxgrid avoid text overlap next cell
Ahhh!! So I should have searched for overflow instead than overlap... Uhm, wouldn't wxGrid::SetDefaultCellOverlap(bool) be a better name?? You know "overflow" sounds like some number that was too big...
Anyway, Cool & fast, as always.
Thanks a lot doublemax!
Anyway, Cool & fast, as always.
Thanks a lot doublemax!