minor wx work
This commit is contained in:
parent
7ddc2b64cd
commit
8f8100e4d8
19
wx/foreach.h
19
wx/foreach.h
|
@ -1,3 +1,22 @@
|
||||||
|
/*
|
||||||
|
* Xmission - a cross-platform bittorrent client
|
||||||
|
* Copyright (C) 2007 Charles Kerr <charles@rebelbase.com>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; version 2 of the License.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef _Foreach_h_
|
#ifndef _Foreach_h_
|
||||||
#define _Foreach_h_
|
#define _Foreach_h_
|
||||||
|
|
||||||
|
|
|
@ -58,11 +58,11 @@ static char * minus_xpm[] = {
|
||||||
"p c #CDD5D9",
|
"p c #CDD5D9",
|
||||||
"q c #CBD4D9",
|
"q c #CBD4D9",
|
||||||
".........................",
|
".........................",
|
||||||
".+@@@@@#$%&*=-;>,,,,')!~.",
|
".+@@@@@#$%&*=-;>,,,,')!..",
|
||||||
".{]]]]]]^/(_:<[}|1234456.",
|
".{]]]]]]^/(_:<[}|123445..",
|
||||||
".{]]]]]]]]7890abcdefgghi.",
|
".{]]]]]]]]7890abcdefggh..",
|
||||||
".{]]]]]]]]]]]]jklm9noonp.",
|
".{]]]]]]]]]]]]jklm9noon..",
|
||||||
".{]]]]]]]]]]]]]]]]]]]]]q.",
|
".{]]]]]]]]]]]]]]]]]]]]]..",
|
||||||
".{]]]]]]]]]]]]]]]]]]]]]q.",
|
".{]]]]]]]]]]]]]]]]]]]]]..",
|
||||||
".........................",
|
".........................",
|
||||||
"........................."};
|
"........................."};
|
||||||
|
|
|
@ -1,11 +1,19 @@
|
||||||
/*
|
/*
|
||||||
* This file Copyright (C) 2007 Charles Kerr <charles@rebelbase.com>
|
* Xmission - a cross-platform bittorrent client
|
||||||
|
* Copyright (C) 2007 Charles Kerr <charles@rebelbase.com>
|
||||||
*
|
*
|
||||||
* This file is licensed by the GPL version 2. Works owned by the
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* Transmission project are granted a special exemption to clause 2(b)
|
* it under the terms of the GNU General Public License as published by
|
||||||
* so that the bulk of its code can remain under the MIT license.
|
* the Free Software Foundation; version 2 of the License.
|
||||||
* This exemption does not extend to derived works not owned by
|
*
|
||||||
* the Transmission project.
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
|
@ -1,11 +1,19 @@
|
||||||
/*
|
/*
|
||||||
* This file Copyright (C) 2007 Charles Kerr <charles@rebelbase.com>
|
* Xmission - a cross-platform bittorrent client
|
||||||
|
* Copyright (C) 2007 Charles Kerr <charles@rebelbase.com>
|
||||||
*
|
*
|
||||||
* This file is licensed by the GPL version 2. Works owned by the
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* Transmission project are granted a special exemption to clause 2(b)
|
* it under the terms of the GNU General Public License as published by
|
||||||
* so that the bulk of its code can remain under the MIT license.
|
* the Free Software Foundation; version 2 of the License.
|
||||||
* This exemption does not extend to derived works not owned by
|
*
|
||||||
* the Transmission project.
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __XMISSION_SPEED_STATS_H__
|
#ifndef __XMISSION_SPEED_STATS_H__
|
||||||
|
|
|
@ -1,11 +1,19 @@
|
||||||
/*
|
/*
|
||||||
* This file Copyright (C) 2007 Charles Kerr <charles@rebelbase.com>
|
* Xmission - a cross-platform bittorrent client
|
||||||
|
* Copyright (C) 2007 Charles Kerr <charles@rebelbase.com>
|
||||||
*
|
*
|
||||||
* This file is licensed by the GPL version 2. Works owned by the
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* Transmission project are granted a special exemption to clause 2(b)
|
* it under the terms of the GNU General Public License as published by
|
||||||
* so that the bulk of its code can remain under the MIT license.
|
* the Free Software Foundation; version 2 of the License.
|
||||||
* This exemption does not extend to derived works not owned by
|
*
|
||||||
* the Transmission project.
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "foreach.h"
|
#include "foreach.h"
|
||||||
|
|
|
@ -1,11 +1,19 @@
|
||||||
/*
|
/*
|
||||||
* This file Copyright (C) 2007 Charles Kerr <charles@rebelbase.com>
|
* Xmission - a cross-platform bittorrent client
|
||||||
|
* Copyright (C) 2007 Charles Kerr <charles@rebelbase.com>
|
||||||
*
|
*
|
||||||
* This file is licensed by the GPL version 2. Works owned by the
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* Transmission project are granted a special exemption to clause 2(b)
|
* it under the terms of the GNU General Public License as published by
|
||||||
* so that the bulk of its code can remain under the MIT license.
|
* the Free Software Foundation; version 2 of the License.
|
||||||
* This exemption does not extend to derived works not owned by
|
*
|
||||||
* the Transmission project.
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __XMISSION_TORRENT_FILTER_H__
|
#ifndef __XMISSION_TORRENT_FILTER_H__
|
||||||
|
|
|
@ -1,11 +1,19 @@
|
||||||
/*
|
/*
|
||||||
* This file Copyright (C) 2007 Charles Kerr <charles@rebelbase.com>
|
* Xmission - a cross-platform bittorrent client
|
||||||
|
* Copyright (C) 2007 Charles Kerr <charles@rebelbase.com>
|
||||||
*
|
*
|
||||||
* This file is licensed by the GPL version 2. Works owned by the
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* Transmission project are granted a special exemption to clause 2(b)
|
* it under the terms of the GNU General Public License as published by
|
||||||
* so that the bulk of its code can remain under the MIT license.
|
* the Free Software Foundation; version 2 of the License.
|
||||||
* This exemption does not extend to derived works not owned by
|
*
|
||||||
* the Transmission project.
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
|
@ -1,11 +1,19 @@
|
||||||
/*
|
/*
|
||||||
* This file Copyright (C) 2007 Charles Kerr <charles@rebelbase.com>
|
* Xmission - a cross-platform bittorrent client
|
||||||
|
* Copyright (C) 2007 Charles Kerr <charles@rebelbase.com>
|
||||||
*
|
*
|
||||||
* This file is licensed by the GPL version 2. Works owned by the
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* Transmission project are granted a special exemption to clause 2(b)
|
* it under the terms of the GNU General Public License as published by
|
||||||
* so that the bulk of its code can remain under the MIT license.
|
* the Free Software Foundation; version 2 of the License.
|
||||||
* This exemption does not extend to derived works not owned by
|
*
|
||||||
* the Transmission project.
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __XMISSION_TORRENT_LIST_H__
|
#ifndef __XMISSION_TORRENT_LIST_H__
|
||||||
|
|
|
@ -1,11 +1,19 @@
|
||||||
/*
|
/*
|
||||||
* This file Copyright (C) 2007 Charles Kerr <charles@rebelbase.com>
|
* Xmission - a cross-platform bittorrent client
|
||||||
|
* Copyright (C) 2007 Charles Kerr <charles@rebelbase.com>
|
||||||
*
|
*
|
||||||
* This file is licensed by the GPL version 2. Works owned by the
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* Transmission project are granted a special exemption to clause 2(b)
|
* it under the terms of the GNU General Public License as published by
|
||||||
* so that the bulk of its code can remain under the MIT license.
|
* the Free Software Foundation; version 2 of the License.
|
||||||
* This exemption does not extend to derived works not owned by
|
*
|
||||||
* the Transmission project.
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <wx/gbsizer.h>
|
#include <wx/gbsizer.h>
|
||||||
|
|
|
@ -1,11 +1,19 @@
|
||||||
/*
|
/*
|
||||||
* This file Copyright (C) 2007 Charles Kerr <charles@rebelbase.com>
|
* Xmission - a cross-platform bittorrent client
|
||||||
|
* Copyright (C) 2007 Charles Kerr <charles@rebelbase.com>
|
||||||
*
|
*
|
||||||
* This file is licensed by the GPL version 2. Works owned by the
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* Transmission project are granted a special exemption to clause 2(b)
|
* it under the terms of the GNU General Public License as published by
|
||||||
* so that the bulk of its code can remain under the MIT license.
|
* the Free Software Foundation; version 2 of the License.
|
||||||
* This exemption does not extend to derived works not owned by
|
*
|
||||||
* the Transmission project.
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __XMISSION_TORRENT_STATS_H__
|
#ifndef __XMISSION_TORRENT_STATS_H__
|
||||||
|
|
|
@ -1,11 +1,19 @@
|
||||||
/*
|
/*
|
||||||
* This file Copyright (C) 2007 Charles Kerr <charles@rebelbase.com>
|
* Xmission - a cross-platform bittorrent client
|
||||||
|
* Copyright (C) 2007 Charles Kerr <charles@rebelbase.com>
|
||||||
*
|
*
|
||||||
* This file is licensed by the GPL version 2. Works owned by the
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* Transmission project are granted a special exemption to clause 2(b)
|
* it under the terms of the GNU General Public License as published by
|
||||||
* so that the bulk of its code can remain under the MIT license.
|
* the Free Software Foundation; version 2 of the License.
|
||||||
* This exemption does not extend to derived works not owned by
|
*
|
||||||
* the Transmission project.
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
@ -370,7 +378,7 @@ void MyFrame :: OnOpen( wxCommandEvent& WXUNUSED(event) )
|
||||||
|
|
||||||
bool MyApp::OnInit()
|
bool MyApp::OnInit()
|
||||||
{
|
{
|
||||||
handle = tr_init( "wx" );
|
handle = tr_init( NULL );
|
||||||
|
|
||||||
wxCmdLineParser cmdParser( cmdLineDesc, argc, argv );
|
wxCmdLineParser cmdParser( cmdLineDesc, argc, argv );
|
||||||
if( cmdParser.Parse ( ) )
|
if( cmdParser.Parse ( ) )
|
||||||
|
|
Loading…
Reference in New Issue