Search found 13 matches

by Mr.shi
Wed Mar 26, 2008 8:22 am
Forum: wxWidgets Development (Chinese)
Topic: 中文板块
Replies: 1
Views: 1357

中文板块

:shock: :shock: 有没有搞错,老外也会考虑搞个中文论坛。。。。。。。。。。。
by Mr.shi
Mon Dec 31, 2007 1:10 am
Forum: Compiler / Linking / IDE Related
Topic: run Error In ubuntu
Replies: 2
Views: 627

:P thank you
by Mr.shi
Sun Dec 30, 2007 12:00 pm
Forum: Compiler / Linking / IDE Related
Topic: run Error In ubuntu
Replies: 2
Views: 627

run Error In ubuntu

when i use "wxSystemSettings::GetMetric(wxSYS_SCREEN_X)",i run my program it report this error. (process:9367): GLib-GObject-CRITICAL **: gtype.c:2242: initialization assertion failed, use IA__g_type_init() prior to this function (process:9367): Gdk-CRITICAL **: gdk_screen_get_width: assertion `GDK_...
by Mr.shi
Wed Aug 08, 2007 1:48 am
Forum: C++ Development
Topic: wxListCtrl+wxHyperlinkCtrl
Replies: 1
Views: 508

wxListCtrl+wxHyperlinkCtrl

I want to add wxHyperlinkCtrl in wxListCtrl,how can i do?
by Mr.shi
Thu Jul 19, 2007 10:36 am
Forum: C++ Development
Topic: [wxGenericDirCtrl] use of item-icons?
Replies: 3
Views: 565

#include <wx/dirctrl.h>

SetImageList( wxTheFileIconsTable->GetSmallImageList() );

int image_id = wxFileIconsTable::file;
if (fileName.Find(wxT('.')) != wxNOT_FOUND)
image_id = wxTheFileIconsTable->GetIconID(fileName.AfterLast(wxT('.')));
by Mr.shi
Tue Jul 17, 2007 11:30 am
Forum: The Code Dump
Topic: wxTaskBarIcon with Balloon tooltips!
Replies: 39
Views: 20416

///////////////////////////////////////////////////////////////////////// // File: taskbar.cpp // Purpose: Implements wxTaskBarIconEx class for manipulating icons on // the Windows task bar. // Author: Julian Smart // Modified by: // Created: 24/3/98 // RCS-ID: $Id: taskbarex.cpp 11913 2007-01-19 2...
by Mr.shi
Tue Jul 17, 2007 7:22 am
Forum: C++ Development
Topic: wxPaintDC while not in OnPaint event
Replies: 6
Views: 866

I think you must lean wxDC,wxClientDC,wxPaintDC,wxScreenDC,wxBufferedPaintDC,wxBufferedDC you can store wxClientDC is so the dc object is active while the application is painting BEGIN EVENT TABLE(MyWindow, wxWindow) EVT PAINT(MyWindow::OnPaint) END EVENT TABLE() void MyWindow::OnPaint(wxPaintEvent&...
by Mr.shi
Tue Jul 17, 2007 5:41 am
Forum: Compiler / Linking / IDE Related
Topic: wxMediaCtrl compiler error!
Replies: 2
Views: 770

I'm using debian, and I have a custom build directory. In the directory, I have a custom config script that does this:

./configure --with-gtk --enable-mediactrl --enable-unicode

make

Now, I can't find libwx_gtk2u_media-2.8.so

How should I go about compiling wxmediactrl?
by Mr.shi
Tue Jul 17, 2007 5:38 am
Forum: Compiler / Linking / IDE Related
Topic: How to compile mediactrl lib?
Replies: 0
Views: 353

How to compile mediactrl lib?

Hello, Is there any easy way to compile the stc / ogl contrib modules? I'm using debian, and I have a custom build directory. In the directory, I have a custom config script that does this: ./configure --with-gtk --enable-mediactrl --enable-unicode Now, I can't find libwx_gtk2u_media-2.8.so How shou...
by Mr.shi
Sun Jul 15, 2007 8:45 am
Forum: Compiler / Linking / IDE Related
Topic: wxMediaCtrl compiler error!
Replies: 2
Views: 770

wxMediaCtrl compiler error!

how can i solve this error? mingw32-make.exe -f makefile.gcc CONFIG=unicoderelease all if not exist MinGWUnicodeRelease mkdir MinGWUnicodeRelease g++.exe -c -o MinGWUnicodeRelease/mediaplayer.o -fno-rtti -fno-pcc-struct-return -fstrict-aliasing -Wall -D__WXMSW__ -D__GNUWIN32__ -D__WIN95__ -DUNICODE ...
by Mr.shi
Sun Jul 15, 2007 3:16 am
Forum: The Code Dump
Topic: Copying a Directory
Replies: 15
Views: 13621

if ( ! wxEndsWithPathSeparator( to ) )
{
to += wxFILE_SEP_PATH;
}

if ( ! wxEndsWithPathSeparator( from ) )
{
from += wxFILE_SEP_PATH;
}
by Mr.shi
Fri Jul 13, 2007 3:37 pm
Forum: Component Writing
Topic: wxAUIMod
Replies: 2
Views: 1454

can't downloading........file error! :lol:
by Mr.shi
Fri Jul 13, 2007 1:17 pm
Forum: C++ Development
Topic: wxAui MinSize problem
Replies: 0
Views: 342

wxAui MinSize problem

:cry: I has "Left panel","Center Panel","Right panel". the "Center panel" disappeared when I resize "Left panel".How can I solve this problem? m_FrameManager.SetManagedWindow(this); m_FrameManager.AddPane(new wxPanel(this, wxID_ANY), wxAuiPaneInfo().Caption(_("Center panel")).Name(wxT("CenterPanel")...