Search found 424 matches

by toxicBunny
Mon May 14, 2007 8:35 pm
Forum: Announcements and Discoveries
Topic: ANN: Report Writer Modifications
Replies: 10
Views: 2444

I moved to another state at the end of last year and my personal site went down when I changed Internet services. I put the files up at a new location temporarily, but I can't find the documentation I wrote for the classes. However, there is a sample included that should help. Check this post for th...
by toxicBunny
Wed Mar 07, 2007 2:10 pm
Forum: wxDev-C++
Topic: Somebody know how work with plPLOT ???
Replies: 7
Views: 1351

Well, I can't give a solution to your problem. I tried plplot once, but had many problems with it. I now use pplot from the following site: http://pplot.sourceforge.net/ It is meant to be portable and includes files and a demo for wxWidgets. I think you still have to build the library, but it was mu...
by toxicBunny
Tue Feb 27, 2007 1:50 pm
Forum: C++ Development
Topic: wxScrolledWindow, not scrolling
Replies: 4
Views: 845

I don't really see a problem at first glance, but I would probably try to set the virtual size and scroll rate outside of the paint event handler. You could also try using a wxBufferedPaintDC, which should prevent some flickering when redrawing and scrolling.

-Scott
by toxicBunny
Fri Feb 23, 2007 1:57 pm
Forum: C++ Development
Topic: Flicker when resizing
Replies: 6
Views: 1414

Instead of using a wxPaintDC and a wxMemoryDC, just use a wxBufferedPaintDC. It handles buffering the drawing code for you. You can also try handling the EVT_ERASE_BACKGROUND event. Just use an empty event handler for this. That prevents redrawing of the background every time, which you probably don...
by toxicBunny
Mon Feb 19, 2007 9:19 pm
Forum: C++ Development
Topic: Appending wxSQLite3 stuff into wxListCtrl
Replies: 6
Views: 861

Try wxSQLite3Database cmdb; cmdb.Open(wxT("CMDB.cmdb")); if (cmdb.TableExists("Contacts")) { wxSQLite3Statement query = cmdb.PrepareStatement("SELECT NAME from Contacts"); wxSQLite3ResultSet results = query.ExecuteQuery(); wxString rs; while (results.NextRow()) { rs = results.GetAsString("NAME"); Co...
by toxicBunny
Tue Feb 13, 2007 3:08 pm
Forum: Platform Related Issues
Topic: maybe a dumb question, but... ?
Replies: 3
Views: 747

Like most other wxWidgets bindings, the releases lag behind the wxWidgets releases a bit. Maybe someone on the wx.NET forum here would know more.

http://forums.wxwidgets.org/viewforum.php?f=26

-Scott
by toxicBunny
Tue Feb 13, 2007 1:40 pm
Forum: Platform Related Issues
Topic: maybe a dumb question, but... ?
Replies: 3
Views: 747

That's what the whole wx.NET project is about. It exposes the wxWidgets classes for use with any .NET language. http://wxnet.sourceforge.net From the home page: wx.NET is a .NET Common Language Infrastructure (CLI) wrapper for wxWidgets. It is composed of two parts: * wx-c is a C++ library which exp...
by toxicBunny
Mon Feb 12, 2007 9:38 pm
Forum: Compiler / Linking / IDE Related
Topic: Linking Errors using Visual C++
Replies: 8
Views: 4306

It looks as though you haven't included the wxWidgets libraries. What compiler, operating system, and version of wxWidgets are you using? Have you downloaded the wxWidgets source and built the libraries? Have you added the necessary libraries to your project or specified them on the command line? -S...
by toxicBunny
Mon Feb 12, 2007 2:45 pm
Forum: Open Discussion
Topic: The end of desktop applications?
Replies: 16
Views: 8320

I don't think that web-based apps will ever completely replace desktop apps, but there are times/places when this will happen. At my current job, I'm re-writing several desktop applications to be web-based. Admittedly, these aren't extremely complicated applications (mainly scheduling applications f...
by toxicBunny
Thu Feb 08, 2007 2:21 pm
Forum: C++ Development
Topic: Retreiving images stored in MySQL
Replies: 4
Views: 760

I would suggest two things here. First, try using the DatabaseLayer library from the wxCode website. It works with many different databases (including MySQL) and handles loading and saving blob values easily. Second, once you have loaded the blob into memory, use a wxMemoryInputStream to allow wxIma...
by toxicBunny
Thu Feb 08, 2007 2:02 pm
Forum: C++ Development
Topic: static line in scrolledWindow
Replies: 5
Views: 1100

I just tried the code with wxWidgets 2.6.2 in Visual Studio 2005, and it worked fine. The static line stayed in the same location when scrolling vertically or horizontally. I tried scrolling using the mouse wheel, clicking on the arrows, dragging the scrollbar, etc. What is your setup (wxWidgets ver...
by toxicBunny
Tue Feb 06, 2007 2:12 pm
Forum: C++ Development
Topic: static line in scrolledWindow
Replies: 5
Views: 1100

I have written an application that uses a wxScrolledWindow class in a similar manner without any problems using wxWidgets 2.6.2 on Windows XP. Using Refresh() in the OnScroll() function is fine. Do not call OnPaint() directly from this function. You should always use Refresh() or Update() to cause t...
by toxicBunny
Fri Jan 12, 2007 5:32 pm
Forum: C++ Development
Topic: wxSpinCtrl for decimal numbers
Replies: 3
Views: 1052

by toxicBunny
Tue Jan 02, 2007 3:07 pm
Forum: Compiler / Linking / IDE Related
Topic: Linker errors Visual Studio 2005
Replies: 3
Views: 786

I don't personally own the book, so I can't really comment on the validity of the code. However, if they were demonstrating something specific to a dialog, they may not have shown the code for the entire project. If you got the code from the CD, then there may be a problem. A wxWidgets application g...
by toxicBunny
Fri Dec 29, 2006 5:18 pm
Forum: Compiler / Linking / IDE Related
Topic: Linker errors Visual Studio 2005
Replies: 3
Views: 786

If you're only including those two files, then your problem is that you don't have a wxApp-derived class. You either need to create a class and use IMPLEMENT_APP or provide your own main() routine. Check out the following: http://www.wxwidgets.org/manuals/stable/wx_wxappoverview.html#wxappoverview -...