Peter,
It is not about local storage but about deployment.
I find upx very useful with statically linked wxWidget apps.
This simple ubx example comes in at 2,358,784 bytes.
after ubx -> 702,464
James
'=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
'Layout management in wxWidgets
'Absolute Positioning
'From http://zetcode.com/tutorials/
'Absolute example from: http://zetcode.com/tutorials/wxwidgetstutorial/layoutmanagement/
'Ported to ubx by James C. Fuller 02-13-2011
'=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
$WX "MyApp"
$NOMAIN
'for windows
$ONEXIT "wxgui.bat $FILE$"
'for Linux
'$EXECON
'=======================================================================
Class Absolute Inherits wxFrame
public
Dim Constructor Absolute(title As wxString)
protected
Raw As wxMenuBar* menubar
Raw As wxMenu* xfile,edit,help
Raw As wxTextCtrl* textctrl
End Class
'-----------------------------------------------------------------------
Constructor Absolute::Absolute(title As wxString) Using _
wxFrame(NULL, -1, title, wxPoint(-1, -1), wxSize(250, 180))
Raw xpanel As wxPanel Ptr
Raw menubar As wxMenuBar Ptr
xpanel = new wxPanel(this, -1)
menubar = new wxMenuBar
xfile = new wxMenu
edit = new wxMenu
help = new wxMenu
PREPEND `menubar->Append`
(xfile, wxT("&File"))
(edit, wxT("&Edit"))
(help, wxT("&Help"))
END PREPEND
SetMenuBar(menubar)
textctrl = new wxTextCtrl(xpanel, -1, wxT(""), wxPoint(-1, -1), wxSize(250, 150))
Centre()
End Sub
'=======================================================================
Function MyApp::OnInit() As boolean
Raw abso As Absolute Ptr
abso = new Absolute(wxT("Absolute"))
abso->Show(true)
Function = true
End Function
'==============================================================================
X