diff -Naur otrproxy-0.3.1/configure otrproxy-0.3.1-wxGTK-2.6/configure
--- otrproxy-0.3.1/configure	2005-11-02 23:28:29.000000000 +0100
+++ otrproxy-0.3.1-wxGTK-2.6/configure	2007-12-01 11:03:59.000000000 +0100
@@ -3946,7 +3946,7 @@
 
                               echo "$as_me:$LINENO: checking for wxWindows static library" >&5
 echo $ECHO_N "checking for wxWindows static library... $ECHO_C" >&6
-      WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs`
+      WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --libs`
       if test -n "$WX_LIBS_STATIC"; then
         echo "$as_me:$LINENO: result: yes" >&5
 echo "${ECHO_T}yes" >&6
diff -Naur otrproxy-0.3.1/wxui/wxprefframe.cpp otrproxy-0.3.1-wxGTK-2.6/wxui/wxprefframe.cpp
--- otrproxy-0.3.1/wxui/wxprefframe.cpp	2005-10-16 18:01:47.000000000 +0200
+++ otrproxy-0.3.1-wxGTK-2.6/wxui/wxprefframe.cpp	2007-12-01 11:04:25.000000000 +0100
@@ -105,7 +105,7 @@
 	    wxID_ANY, wxT("Key for account:"));
     account_menu_sizer->Add(account_label, 0, wxALL | wxALIGN_CENTER, 5);
     account_menu = new wxChoice(otrprefs, wxID_ANY, wxDefaultPosition, 
-	    wxDefaultSize, 0, NULL);
+	    wxDefaultSize, 0, (const wxString *)NULL);
     account_menu_sizer->Add(account_menu, 1, wxALL | 
 	    wxALIGN_CENTER, 5);
     account_list = NULL;
