Search found 111 matches

by beneficii
Sun Jun 15, 2014 2:15 am
Forum: Open Discussion
Topic: wx-config.exe for Windows
Replies: 3
Views: 12542

Re: wx-config.exe for Windows

I'm getting the same error. Looks to me like something is broken on that page. Yep. Nevertheless, switching to Visual Studio 2013 and building up the minimal project into the templates I've made that allows for any kind of Debug (DLL or static), Release (DLL or static), and Win32 and x64 type build...
by beneficii
Sun Jun 15, 2014 2:13 am
Forum: General Development
Topic: Using XML for Interactive Disassembler GUI
Replies: 2
Views: 1749

Re: Using XML for Interactive Disassembler GUI

I am currently writing code similar to the screenshots, but that will use XML to distribute into code and data and save the designations.
by beneficii
Sun Jun 15, 2014 2:07 am
Forum: Announcements and Discoveries
Topic: wxWidgets Template for MS VC12 (Visual Studio 2013)
Replies: 3
Views: 3530

Re: wxWidgets Template for MS VC12 (Visual Studio 2013)

Here is an updated non-empty one, that inherits from wxApp as AppMain , containing both a .cpp and an .h file for the code. Just remember that when the top-level window is closed, that the following piece of code should be executed: wxTheApp->Exit(); to close out of project. Remember that the top-le...
by beneficii
Thu Jun 12, 2014 10:11 am
Forum: General Development
Topic: Using XML for Interactive Disassembler GUI
Replies: 2
Views: 1749

Re: Using XML for Interactive Disassembler GUI

I was thinking of an example, like getting back this source code. It's tough, because you gotta know the labels, where bytes repeat, what is code and what is not, etc. (see the pictures below to see how a raw disassembly can look--between the pictures there is nothing but $FF's). Note that $ represe...
by beneficii
Tue Jun 10, 2014 7:29 pm
Forum: General Development
Topic: What flow of programming and tools do you use?
Replies: 41
Views: 83503

Re: What flow of programming and tools do you use?

For the GUI, wxFormBuilder For the IDE, was using NetBeans but switched to Visual Studio 2013 (Visual C++) when NetBeans kept giving me a whole bunch of false negatives and false positive on its parser. For the compiler, I am using Visual C++, but I am not going to use VC++-specific codes (like prag...
by beneficii
Tue Jun 10, 2014 3:03 am
Forum: General Development
Topic: Using XML for Interactive Disassembler GUI
Replies: 2
Views: 1749

Using XML for Interactive Disassembler GUI

I'm creating an interactive disassembler for the 6502 processing chip. The users would be able to trace out what is code an what is not (i.e. what is data), they would be able to add labels, reference those labels in other parts of the disassembly (replacing in the representation the raw numbers), s...
by beneficii
Wed Jun 04, 2014 3:51 pm
Forum: Compiler / Linking / IDE Related
Topic: Trying to figure out which libraries I should linke
Replies: 1
Views: 1091

Re: Trying to figure out which libraries I should linke

I am making use of a wxDataViewListCtrl object in my current project. This is a Windows build, using static libraries, of wxWidgets 3.0.0. I believe that -lmsw30u_adv is the library for wxDataViewListCtrl, and indeed when I added that the undefined references to the wxDataViewListCtrl object went a...
by beneficii
Wed Jun 04, 2014 3:43 pm
Forum: Compiler / Linking / IDE Related
Topic: Trying to figure out which libraries I should linke
Replies: 1
Views: 1091

Trying to figure out which libraries I should linke

I am making use of a wxDataViewListCtrl object in my current project. This is a Windows build, using static libraries, of wxWidgets 3.0.0. I believe that -lmsw30u_adv is the library for wxDataViewListCtrl, and indeed when I added that the undefined references to the wxDataViewListCtrl object went aw...
by beneficii
Tue Jun 03, 2014 7:50 pm
Forum: C++ Development
Topic: wxListCtrl: How do you allow the user to edit columns > 0?
Replies: 3
Views: 2414

Re: wxListCtrl: How do you allow the user to edit columns >

Is there another way to make any of the columns to the right of the first editable? No. If you need this, you will have to switch to a different control, e.g. wxDataViewListCtrl or wxGrid. Thanks! One of the projects that has been in my mind for years since I started disassembling SMB2J and saw how...
by beneficii
Tue Jun 03, 2014 1:56 pm
Forum: C++ Development
Topic: wxListCtrl: How do you allow the user to edit columns > 0?
Replies: 3
Views: 2414

Re: wxListCtrl: How do you allow the user to edit columns >

Never mind. I see that you can use SetColumnsOrder(). EDIT: Never mind the never mind. I see here that this only works under Windows. When designing apps, I'd like to have portability in mind. Is there another way to make any of the columns to the right of the first editable? http://docs.wxwidgets.o...
by beneficii
Tue Jun 03, 2014 1:53 pm
Forum: C++ Development
Topic: wxListCtrl: How do you allow the user to edit columns > 0?
Replies: 3
Views: 2414

wxListCtrl: How do you allow the user to edit columns > 0?

This is in wxListCtrl. Please see picture and picture comment below for details.

Basically, I want to set a different column to be directly editable, instead of just the first. How would I go about doing that?
by beneficii
Mon Jun 02, 2014 10:28 pm
Forum: Compiler / Linking / IDE Related
Topic: Trouble adding wxListItem to wxListCtrl with wxLC_REPORT set
Replies: 2
Views: 1825

Re: Trouble adding wxListItem to wxListCtrl with wxLC_REPORT

doublemax wrote:You can call InsertItem() only once for each row. To set the data for other columns, you need to call SetItem()
Got it! Thanks again for your help!
by beneficii
Mon Jun 02, 2014 10:15 pm
Forum: Compiler / Linking / IDE Related
Topic: Trouble adding wxListItem to wxListCtrl with wxLC_REPORT set
Replies: 2
Views: 1825

Trouble adding wxListItem to wxListCtrl with wxLC_REPORT set

I am using 64-bit wxWidgets 3.0.0 on Windows 8.1 64-bit. This is part of OnInitDlg() in the Dlg class, which is derived from the wxFormBuilder-generated TesterDlg class, itself derived from wxDialog . The code works almost perfectly, with just one little problem. I create 2 headers/columns "Spr...