Kirix Support Forums

Code cleanup

Please post any wxAUI patches or modifications you've created here. Thanks!

Code cleanup

Postby Joel on Mon Apr 24, 2006 8:11 pm

In my custom build of wxWidgets I have deprecated the wx string functions in favour of the std::string ones (wx is going to use std::string eventually). I've also fixed some compilation warnings that I've gto from VC (/W4).

I can't create a patch (yet) coz I can't find a proper place for me to request a diff from (ha, I'm n00b... only able to have diff files when I can do it thru UI).. So maybe you want to have a look at http://joelsplace.dyndns.org/documents/ ... /manager.h and manager.cpp; let me know if they will be applied!

As of now, those two files contain the Close event patch (don't know whether it's still valid, i just compared 0.9.1 and 0.9.2 and blindly copied the changes over); some form of DLL support (hacks, as per usual); and finally the warning fixes.

-Joel

P.S. this was modified from 0.9.2
Joel's Place
Project Administrator for the UPX GUI and developer for wxDev-C++

I want a legal copy of VS Professional! :P
Joel
Registered User
 
Posts: 37
Joined: Mon Jan 09, 2006 1:32 pm
Location: Singapore

Postby Joel on Mon Apr 24, 2006 8:48 pm

Added the ModernDockArt class; and separated the art implementation from the main implementation
Joel's Place
Project Administrator for the UPX GUI and developer for wxDev-C++

I want a legal copy of VS Professional! :P
Joel
Registered User
 
Posts: 37
Joined: Mon Jan 09, 2006 1:32 pm
Location: Singapore

Postby Joel on Mon Apr 24, 2006 8:58 pm

Browse http://joelsplace.dyndns.org/documents/files/public to see the files and screenshot (showcasing the 5 different windows themes) for AUI.
Joel's Place
Project Administrator for the UPX GUI and developer for wxDev-C++

I want a legal copy of VS Professional! :P
Joel
Registered User
 
Posts: 37
Joined: Mon Jan 09, 2006 1:32 pm
Location: Singapore

Postby Ben on Tue Apr 25, 2006 2:42 am

This is really cool stuff. Thanks.

Ben
User avatar
Ben
Kirix Support Team
 
Posts: 525
Joined: Mon Dec 19, 2005 6:29 am

Postby Joel on Tue Apr 25, 2006 4:28 am

I've fixed the close event patch; apparently upgrading broke the patch and in 0.9.2 the pane WILL NOT close. That's been fixed now however :)
Joel's Place
Project Administrator for the UPX GUI and developer for wxDev-C++

I want a legal copy of VS Professional! :P
Joel
Registered User
 
Posts: 37
Joined: Mon Jan 09, 2006 1:32 pm
Location: Singapore

Postby Joel on Tue Apr 25, 2006 5:47 am

around line 2908 i fixed the "dropping" of panes with ctrl/alt down. when either of the keys are down it is not docked. However with the transparency flag on the alpha remains at 150. this patch addresses that issue.
Joel's Place
Project Administrator for the UPX GUI and developer for wxDev-C++

I want a legal copy of VS Professional! :P
Joel
Registered User
 
Posts: 37
Joined: Mon Jan 09, 2006 1:32 pm
Location: Singapore

Postby Guest on Thu Apr 27, 2006 9:03 am

Hello Joel,

in your version you include "dependencies.h"...
Doesn't seem like a common file. :)

Daniel
Guest
 

Postby Joel on Fri Apr 28, 2006 2:08 am

sorry... its my PCH in my project; i link it as a DLL... you can safely remote it (from both sources).

Joel
Joel's Place
Project Administrator for the UPX GUI and developer for wxDev-C++

I want a legal copy of VS Professional! :P
Joel
Registered User
 
Posts: 37
Joined: Mon Jan 09, 2006 1:32 pm
Location: Singapore

Postby Joel on Sat Apr 29, 2006 8:09 am

The latest one i published posts events for floating panes which were closed.
Joel's Place
Project Administrator for the UPX GUI and developer for wxDev-C++

I want a legal copy of VS Professional! :P
Joel
Registered User
 
Posts: 37
Joined: Mon Jan 09, 2006 1:32 pm
Location: Singapore

Postby Joel on Fri May 19, 2006 10:11 pm

I just did a new patch... this one has:

-resize hint can/should be a solid black line under Windows XP.
-users should not be allowed to drag the size hint outside the main window
-don't redraw the hint when the hint is in the same position

Hope this can help you with a few bugs, Ben.
-Joel
Joel's Place
Project Administrator for the UPX GUI and developer for wxDev-C++

I want a legal copy of VS Professional! :P
Joel
Registered User
 
Posts: 37
Joined: Mon Jan 09, 2006 1:32 pm
Location: Singapore

Return to wxAUI Patches & Modifications