[태그:] wxwidgets
wxWidgets 텔넷 예제 tatelnet-1.1.1.zip
wxWidgets 텔넷 예제 tatelnet-1.1.1.zip
c_str: Returns a pointer to the string data (const char* in ANSI build, const wchar_t* in Unicode build). mb_str: Returns multibyte (C string) representation of the string. In Unicode build, converts using conv’s cWC2MB method and returns wxCharBuffer. In ANSI build, this function is same as c_str.
wxWidgets 그래프 구현 예제 출처: http://www.daniweb.com/code/snippet217195.html
rgba 데이타를 wxBitmap 으로 변환하는 코드
유니코드로 빌드된 wxWidgets은 내부적으로 UTF8로 모든 문자열이 표현이 되는데, 이때 외부 문자열을 유니코드로 변경할때는 아래와 같이 한다.
wxWidgets과 FreeImage의 조합이 필요하다면 아래의 소스를 분석해본다. http://sourceforge.net/projects/comical/ http://sourceforge.net/projects/kujawiak/files/ 아래의 코드도 보고. 출처: http://kldp.org/node/88572 아래는 FreeImage를 이용하여 이미지를 보여주는 예제이다. http://www.codeproject.com/KB/graphics/freeimage_display_demo.aspx
역시 wxWidgets은 간단하며, 타기종의 플랫폼을 생각할 필요가 없다.
wxAuiMDIChileFrame의 SetTitle 메소드를 사용시 메모리 누수가 일어난다. src/aui/auibook.cpp의 SetPageText 메소드내의 ctrl->Update(); 를 코맨트 처리한다.
MyTcl의 wxWidgets을 2.8.11 버전으로 업데이트한다. 컴파일 방법은 아래와 같이한다. configure.in 파일을 열어 -mthreads 로 검색해서 다음과 같이 수정한다. 를 추가한다. (gcc 4.x버전에서만…) 이제 컴파일한다.