Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / wxStyledTextCtrl

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. wxStyledTextCtrl
#4591
Posted by: 2004-06-23 21:21:27
I've installed wxWindows from DevPak on Dev C++ 5, and seems like wxStyledTextCtrl is not included, I have a copy of wxWindows, but don't know how to install the wxStyledTextCtrl.Can anybody give me some guide?
Message2. Re: wxStyledTextCtrl
#4631
Posted by: HeReSY 2004-06-25 22:04:04
Hi,

Just install the contrib devpack for wxWidgets.

HeReSY
Message3. Re: wxStyledTextCtrl
#4660
Posted by: 2004-06-28 18:55:33
Thanks, I overlooked that.
Message4. Re: wxStyledTextCtrl
#4687
Posted by: 2004-06-30 15:24:42
azazel Wrote:
-------------------------------------------------------
> Thanks, I overlooked that.

Did you succeded compiling the stc contrib's sample?
I always get a bunch of error on the linking processm like:

libwxmsw25_stc.a(stclib_stc.o)(.text+0x20e0):stc.cpp: undefined reference to `wxMemoryOutputStream::wxMemoryOutputStream(void*, unsigned)'

The other error are missing references to other `wxMemoryOutputStream' functions.

I'm using Rene's wxWidget 2.5.1 DevPack + contribs  with Dev-C++ 4.9.8.10 + Mingw updated to 3.3.1, and those are my (latest try) linker settings:

-lwxmsw25
-lwxtiff
-lwxjpeg
-lwxpng
-lwxzlib
-lwxregex
-lwxexpat
-lkernel32
-luser32
-lgdi32
-lcomdlg32
-lwinspool
-lwinmm
-lshell32
-lcomctl32
-lole32
-loleaut32
-luuid
-lrpcrt4
-ladvapi32
-lwsock32
-lwinmm
-lodbc32
-lopengl32
-lwxmsw25_stc
-s

Hope you, or someone else can help.
Thanks in advance
Message5. Re: wxStyledTextCtrl
#4689
Posted by: upCASE 2004-06-30 15:31:14
Hi!
This may sound stupid, but have you tried changing the linker list like

-lwxmsw25_stc
-lwxmsw25
...
upCASE
-----------------------------------
If it was hard to write, it should be hard to read!- Do. Or do not. There is no try!
Message6. Re: wxStyledTextCtrl
#4690
Posted by: 2004-06-30 21:27:08
Oh yeah I received linker error all the time
Message7. Re: wxStyledTextCtrl
#4694
Posted by: 2004-07-01 00:58:07
upCASE Wrote:
-------------------------------------------------------
> Hi!This may sound stupid, but have you tried
> changing the linker list
> like
> -lwxmsw25_stc
> -lwxmsw25...
>
> upCASE

This may sound stupid too: I've tried to move the -lwxmsw25_stc lib around, but I didn't try to put it as the first entry.
Now I've tried, and it worked!

[size=+2]HUGE[/size] thanks!!
Message8. Re: wxStyledTextCtrl
#4695
Posted by: 2004-07-01 06:56:29
Hi all,

I am trying to implement some application and currently faced two problems.
1. Is that possible to skip numbering on some lines and to continue them later?
2. Is this possible to synchronize scrolling events between two controls so they will scroll simultaneously?

Thanks

Igor
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
¥1,360.00 ·
 
 
¥271.00 ·
 
 
¥880.00 ·
 
 
¥980.00 ·
 
 
¥890.00 编辑
 
 
¥918.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0