Search found 73 matches
- Mon Sep 05, 2005 11:42 pm
- Forum: C++ Development
- Topic: Bitmap buttons with no borders?
- Replies: 2
- Views: 1740
Remove the button wxBU_AUTODRAW style, use 0 for the style value. Ok, I think I know what's going on now. You're right, but I already had only wxNO_BORDER as the style which removes the wxBU_AUTODRAW. According to the documentation, this will only work on Win32 and I'm writing this for Linux. Not t...
- Mon Sep 05, 2005 5:11 am
- Forum: C++ Development
- Topic: Bitmap buttons with no borders?
- Replies: 2
- Views: 1740
Bitmap buttons with no borders?
I'm using bitmap buttons on a menu and have them set wxNO_BORDER and they look exactly how I want them to. That is, until the mouse pointer hovers over the button. This causes a 3D border to appear around the bitmap I've loaded and totally destroying the look of my app. I'd like to turn this off so ...
- Wed Aug 31, 2005 1:04 am
- Forum: Compiler / Linking / IDE Related
- Topic: Newbie: Why 800KBs binary?
- Replies: 8
- Views: 2271
The project i'm currently working on has about 5000 lines of code and includes about 16 WX headers giving me a debuggable executable of about 1.6meg. If i manually edit the Makefile and remove all the little '-g's, i builds at 400k. :D Removing the -g flags from the Makefile has the same result as u...
- Wed Aug 31, 2005 12:53 am
- Forum: Compiler / Linking / IDE Related
- Topic: IDE for Linux
- Replies: 12
- Views: 3278
- Tue Aug 30, 2005 2:19 am
- Forum: C++ Development
- Topic: wxODBC: Identifying an inserted row
- Replies: 7
- Views: 2510
- Wed Aug 17, 2005 2:19 am
- Forum: Announcements and Discoveries
- Topic: Almas Designer Version 0.8 released (not a preview anymore!)
- Replies: 22
- Views: 7259
- Tue Aug 16, 2005 12:46 am
- Forum: C++ Development
- Topic: wxODBC: Identifying an inserted row
- Replies: 7
- Views: 2510
- Thu Aug 11, 2005 12:27 am
- Forum: C++ Development
- Topic: wxODBC: Identifying an inserted row
- Replies: 7
- Views: 2510
What kind of DBMS you are using? Thank you. PostgreSQL. I'm currently working on using a query to getnextval('table_field_seq') to get the next sequence value BEFORE i update the database, but this will only work on Postgres as far as I'm aware. Which is fine for me, but I always like to be as gene...
- Thu Aug 11, 2005 12:20 am
- Forum: C++ Development
- Topic: wxodbc get number of rows
- Replies: 3
- Views: 1312
http://www.wxwidgets.org/manuals/2.6.1/wx_wxdbtable.html#wxdbtablecount If you're using wxDbTable::QueryBySqlStmt like i am, this is useless as it does not know about the WHERE part of your SQL statement and will just return all rows in the table. To that end, I came up with this exrtemely simple f...
- Wed Aug 10, 2005 2:41 am
- Forum: wxDev-C++
- Topic: Gauge doesn't update...
- Replies: 17
- Views: 5091
Entering any value causes the whole program to segfault. My question is...... WHAT THE!?!?!? You need to check the value to make sure whether it is with in the interval of the Min and Max value of Gauge. If not, you are sure of getting runtime errors. -Guru Kathiresan I have 2 things to say to that...
- Wed Aug 10, 2005 2:34 am
- Forum: C++ Development
- Topic: wxODBC: Identifying an inserted row
- Replies: 7
- Views: 2510
wxODBC: Identifying an inserted row
Hi all, I seem to have this problem in just about every language and database combination I've worked with and it's annoying to say the least. Basically I need to identify a row that I have just inserted using the wxDb::Insert() member. The row is inserted correctly but the cursor stays pointing to ...
- Thu Jul 28, 2005 4:06 am
- Forum: C++ Development
- Topic: wxDbTable::SetColDefs does not support SQL_VARCHAR? WTF!?
- Replies: 0
- Views: 559
wxDbTable::SetColDefs does not support SQL_VARCHAR? WTF!?
Ok, for now I've got a work-around in place for this but this seem totally weird so I thought I'd bring it up. I'm writing a sort of database abstraction layer that allows me to use standard SQL queries that get chopped up and passed to a wxDbTable object. So far everything is working great. I have ...
- Tue Jul 26, 2005 3:16 am
- Forum: C++ Development
- Topic: Problem with WxDb and WxDbTable
- Replies: 2
- Views: 1067
Re: Problem with WxDb and WxDbTable
Here's the source code wxChar PRIV[1]; wxString result; /* Here's the rest of the code, query, getnext() and other controls */ if (!db->GetData(2, SQL_C_CHAR, &PRIV, 0, &cb1)){ er->generaErrore("Error","!!!???!!!!???"); //this is to show an error return; } result=PRIV[0]...
- Sun Jul 24, 2005 10:47 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Cross-compile woes: Compile on Linux for Windows or Linux
- Replies: 5
- Views: 1769
seperate the linux libraries from the cross-compile libraries. an easy way is to install them in differnet places like ./configure --prefix=/cross and in your makefile, seperate out the cross-compiled build from the linux native build. because what I think is happening, is that when you compiled fo...
- Mon Jul 18, 2005 5:13 am
- Forum: Compiler / Linking / IDE Related
- Topic: Cross-compile woes: Compile on Linux for Windows or Linux
- Replies: 5
- Views: 1769
Ok.. I took another crack at this today and still no joy. I have the full wxWidgets-2.6.1 source which I compile using: ./configure --with-msw --target=i586-mingw32msvc --host=i586-mingw32msvc --build=i386-linux --with-odbc make make install This compiles and installs without problems. Then compilin...